Skip to content

Commit 167c0ba

Browse files
Build compiler with -Dexecution_context on Windows (#16502)
1 parent 9f5aee6 commit 167c0ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile.win

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ SPEC_SOURCES := $(call GLOB,spec\\*.cr)
6161
override FLAGS += -D strict_multi_assign -D preview_overload_order $(if $(release),--release )$(if $(stats),--stats )$(if $(progress),--progress )$(if $(threads),--threads $(threads) )$(if $(debug),-d )$(if $(static),--static )$(if $(LDFLAGS),--link-flags="$(LDFLAGS)" )$(if $(target),--cross-compile --target $(target) )
6262
# NOTE: USE_PCRE1 is only used for testing compatibility with legacy environments that don't provide libpcre2.
6363
# Newly built compilers should never be distributed with libpcre to ensure syntax consistency.
64-
override COMPILER_FLAGS += $(if $(interpreter),,-Dwithout_interpreter )$(if $(docs_sanitizer),,-Dwithout_libxml2 ) -Dwithout_openssl -Dwithout_zlib$(if $(sequential_codegen),, -Dpreview_mt) $(if $(USE_PCRE1),-Duse_pcre,-Duse_pcre2)
64+
override COMPILER_FLAGS += $(if $(interpreter),,-Dwithout_interpreter )$(if $(docs_sanitizer),,-Dwithout_libxml2 ) -Dwithout_openssl -Dwithout_zlib$(if $(sequential_codegen),, -Dpreview_mt -Dexecution_context) $(if $(USE_PCRE1),-Duse_pcre,-Duse_pcre2)
6565
SPEC_WARNINGS_OFF := --exclude-warnings spec\std --exclude-warnings spec\compiler --exclude-warnings spec\primitives --exclude-warnings src\float\printer
6666
SPEC_FLAGS := $(if $(verbose),-v )$(if $(junit_output),--junit_output $(junit_output) )$(if $(order),--order=$(order) )
6767
CRYSTAL_CONFIG_LIBRARY_PATH := $$ORIGIN\lib

0 commit comments

Comments
 (0)