about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--mk/main.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/mk/main.mk b/mk/main.mk
index 4d354908b68..2bdfc1bafd7 100644
--- a/mk/main.mk
+++ b/mk/main.mk
@@ -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