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
-5
View File
@@ -24,11 +24,6 @@ ifeq ($(STATIC), 1)
FLAGS += --static
endif
ifeq ($(MT), 1)
FLAGS += -Dpreview_mt
endif
ifeq ($(NO_DBG_SYMBOLS), 1)
FLAGS += --no-debug
else