File tree 2 files changed +5
-1
lines changed 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -578,6 +578,7 @@ opt ccache 0 "invoke gcc/clang via ccache to reuse object files between builds"
578
578
opt local-rust 0 " use an installed rustc rather than downloading a snapshot"
579
579
opt llvm-static-stdcpp 0 " statically link to libstdc++ for LLVM"
580
580
opt rpath 0 " build rpaths into rustc itself"
581
+ opt stage0-landing-pads 1 " enable landing pads during bootstrap with stage0"
581
582
# This is used by the automation to produce single-target nightlies
582
583
opt dist-host-only 0 " only install bins for the host architecture"
583
584
opt inject-std-version 1 " inject the current compiler version of libstd into programs"
Original file line number Diff line number Diff line change @@ -170,7 +170,10 @@ RUST_LIB_FLAGS_ST3 += -C prefer-dynamic
170
170
171
171
# Landing pads require a lot of codegen. We can get through bootstrapping faster
172
172
# by not emitting them.
173
- RUSTFLAGS_STAGE0 += -Z no-landing-pads
173
+
174
+ ifdef CFG_DISABLE_STAGE0_LANDING_PADS
175
+ RUSTFLAGS_STAGE0 += -Z no-landing-pads
176
+ endif
174
177
175
178
# Enable MIR to "always build" for crates where this works. This is
176
179
# just temporary while MIR is being actively built up -- it's just a
You can’t perform that action at this time.
0 commit comments