]> git.lizzy.rs Git - rust.git/blobdiff - mk/main.mk
doc: "mut" not needed for the examples
[rust.git] / mk / main.mk
index 887247b80c4cd8efe2aee22e8f7b69aa4c5198bd..9df04a6d43eac4c5a7073615604f308d73b7af65 100644 (file)
@@ -134,6 +134,11 @@ ifdef CFG_ENABLE_DEBUGINFO
   CFG_RUSTC_FLAGS += -g
 endif
 
+ifdef CFG_ENABLE_ORBIT
+  $(info cfg: launching MIR (CFG_ENABLE_ORBIT))
+  CFG_RUSTC_FLAGS += -Z orbit
+endif
+
 ifdef SAVE_TEMPS
   CFG_RUSTC_FLAGS += --save-temps
 endif