]> git.lizzy.rs Git - rust.git/commitdiff
mk: Don't emit landing pads in stage 0.
authorBrian Anderson <banderson@mozilla.com>
Fri, 8 Aug 2014 23:54:26 +0000 (16:54 -0700)
committerBrian Anderson <banderson@mozilla.com>
Fri, 8 Aug 2014 23:54:26 +0000 (16:54 -0700)
Reduces time to build stage0 from 11:30 to 9:40 on my machine.

mk/main.mk

index 4d354908b6898d32f6390f2db34c5e19e9c92088..2bdfc1bafd701147bff1de29cb94906ad8a488b5 100644 (file)
@@ -139,6 +139,10 @@ endif
 RUSTFLAGS_STAGE0 += -C prefer-dynamic
 RUSTFLAGS_STAGE1 += -C prefer-dynamic
 
+# Landing pads require a lot of codegen. We can get through bootstrapping faster
+# by not emitting them.
+RUSTFLAGS_STAGE0 += -Z no-landing-pads
+
 # platform-specific auto-configuration
 include $(CFG_SRC_DIR)mk/platform.mk