File tree Expand file tree Collapse file tree 3 files changed +14
-1
lines changed Expand file tree Collapse file tree 3 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ refs/tags/0.9: 36870b185fc5f5486636d4515f0e22677493f225
23
23
refs/tags/0.10: ac33f2b15782272ae348dbd7b14b8257b2148b5a
24
24
refs/tags/0.11.0: e1247cb1d0d681be034adb4b558b5a0c0d5720f9
25
25
refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
26
- refs/heads/beta: faa9ec81b53be2b460caac0e7dcf46e7a41b8f13
26
+ refs/heads/beta: 9b45874445111b5f79d2888fa37086d1db7e4870
27
27
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
28
28
refs/heads/tmp: 370fe2786109360f7c35b8ba552b83b773dd71d6
29
29
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
Original file line number Diff line number Diff line change @@ -172,6 +172,18 @@ RUST_LIB_FLAGS_ST3 += -C prefer-dynamic
172
172
# by not emitting them.
173
173
RUSTFLAGS_STAGE0 += -Z no-landing-pads
174
174
175
+ # Enable MIR to "always build" for crates where this works. This is
176
+ # just temporary while MIR is being actively built up -- it's just a
177
+ # poor man's unit testing infrastructure. Anyway we only want this for
178
+ # stage1/stage2.
179
+ define ADD_MIR_FLAG
180
+ RUSTFLAGS1_$(1 ) += -Z always-build-mir
181
+ RUSTFLAGS2_$(1 ) += -Z always-build-mir
182
+ endef
183
+ $(foreach crate,$(TARGET_CRATES),$(eval $(call ADD_MIR_FLAG,$(crate))))
184
+ $(foreach crate,$(RUSTC_CRATES),$(eval $(call ADD_MIR_FLAG,$(crate))))
185
+ $(foreach crate,syntax,$(eval $(call ADD_MIR_FLAG,$(crate))))
186
+
175
187
# platform-specific auto-configuration
176
188
include $(CFG_SRC_DIR ) mk/platform.mk
177
189
Original file line number Diff line number Diff line change @@ -93,6 +93,7 @@ $$(TLIB$(1)_T_$(2)_H_$(3))/stamp.$(4): \
93
93
$$(LLVM_LIBDIR_RUSTFLAGS_$(2 ) ) \
94
94
$$(LLVM_STDCPP_RUSTFLAGS_$(2 ) ) \
95
95
$$(RUSTFLAGS_$(4 ) ) \
96
+ $$(RUSTFLAGS$(1 ) _$(4 ) ) \
96
97
$$(RUSTFLAGS$(1 ) _$(4 ) _T_$(2 ) ) \
97
98
--out-dir $$(@D ) \
98
99
-C extra-filename=-$$(CFG_FILENAME_EXTRA ) \
You can’t perform that action at this time.
0 commit comments