]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #55703 - pnkfelix:update-configure-help-to-reflect-pr-54811, r=Mark...
authorkennytm <kennytm@gmail.com>
Tue, 6 Nov 2018 07:21:12 +0000 (15:21 +0800)
committerkennytm <kennytm@gmail.com>
Tue, 6 Nov 2018 09:08:33 +0000 (17:08 +0800)
Update `configure --help` (via configure.py) to reflect decoupling of debug+optimize

This should have been part of PR #54811 (my bad).

1  2 
src/bootstrap/configure.py

index c58fe881c8a62633c4d5124f62bb101508dae242,c76dcc5e606e1610492be36efca16b11a0dab36c..5467c9f9d5bf914499deaefcbfa4913c393cdaf5
@@@ -40,7 -40,7 +40,7 @@@ def v(*args)
      options.append(Option(*args, value=True))
  
  
- o("debug", "rust.debug", "debug mode; disables optimization unless `--enable-optimize` given")
+ o("debug", "rust.debug", "enables debugging environment; does not affect optimization of bootstrapped code (use `--disable-optimize` for that)")
  o("docs", "build.docs", "build standard library documentation")
  o("compiler-docs", "build.compiler-docs", "build compiler documentation")
  o("optimize-tests", "rust.optimize-tests", "build tests with optimizations")
@@@ -68,7 -68,6 +68,7 @@@ o("cargo-native-static", "build.cargo-n
  o("profiler", "build.profiler", "build the profiler runtime")
  o("emscripten", None, "compile the emscripten backend as well as LLVM")
  o("full-tools", None, "enable all tools")
 +o("lld", "rust.lld", "build lld")
  o("lldb", "rust.lldb", "build lldb")
  o("missing-tools", "dist.missing-tools", "allow failures when building tools")