Skip to content

Commit 4ed40ff

Browse files
committed
auto merge of #16373 : brson/rust/nopads, r=pcwalton
Reduces time to build stage0 from 11:30 to 9:40 on my machine. There's a tradeoff here since doing this will make the stage1 compile-fail tests fail. r? @pcwalton
2 parents 0cdeb15 + e59fb9e commit 4ed40ff

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

mk/main.mk

+4
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,10 @@ endif
139139
RUSTFLAGS_STAGE0 += -C prefer-dynamic
140140
RUSTFLAGS_STAGE1 += -C prefer-dynamic
141141

142+
# Landing pads require a lot of codegen. We can get through bootstrapping faster
143+
# by not emitting them.
144+
RUSTFLAGS_STAGE0 += -Z no-landing-pads
145+
142146
# platform-specific auto-configuration
143147
include $(CFG_SRC_DIR)mk/platform.mk
144148

0 commit comments

Comments
 (0)