chore: remove -Dpreview_mt from Makefile as it has been deprecated by the Crystal compiler. (#5872)

Crystal 1.21.0 now features execution contexts, they do not longer support (and recommend) the -Dpreview_mt build flag. -Dpreview_mt also worked really bad and it made Invidious to hang on high load, so it was never useful.

https://crystal-lang.org/2026/07/16/1.21.0-released/#execution-contexts
This commit is contained in:
Fijxu 2026-08-02 17:20:57 -04:00 committed by GitHub
commit d30a1f3e17
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -24,11 +24,6 @@ ifeq ($(STATIC), 1)
FLAGS += --static FLAGS += --static
endif endif
ifeq ($(MT), 1)
FLAGS += -Dpreview_mt
endif
ifeq ($(NO_DBG_SYMBOLS), 1) ifeq ($(NO_DBG_SYMBOLS), 1)
FLAGS += --no-debug FLAGS += --no-debug
else else