about summary refs log tree commit diff
path: root/src/test/rustdoc-ui/coverage/doc-examples.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-07-28 13:56:32 +0000
committerbors <bors@rust-lang.org>2020-07-28 13:56:32 +0000
commit7b3a7819371cef92a187e9bac8f7810ccde15216 (patch)
treea67620ed2276657f29e99763d4dd4d94dc14be27 /src/test/rustdoc-ui/coverage/doc-examples.rs
parent2c28244cf0fc9868f55070e55b8f332d196eaf3f (diff)
parentda40cf81e63d04dced9d943743bb2a58801916e7 (diff)
downloadrust-7b3a7819371cef92a187e9bac8f7810ccde15216.tar.gz
rust-7b3a7819371cef92a187e9bac8f7810ccde15216.zip
Auto merge of #73964 - jyn514:sane-defaults, r=Mark-Simulacrum
Improve defaults in x.py

- Make the default stage dependent on the subcommand
- Don't build stage1 rustc artifacts with x.py build --stage 1. If this is what you want, use x.py build --stage 2 instead, which gives you a working libstd.
- Change default debuginfo when debug = true from 2 to 1

I tried to fix CI to use `--stage 2` everywhere it currently has no stage, but I might have missed a spot.
This does not update much of the documentation - most of it is in https://github.com/rust-lang/rustc-dev-guide/ or https://github.com/rust-lang/rust-forge and will need a separate PR.

See individual commits for a detailed rationale of each change.
See also the MCP: https://github.com/rust-lang/compiler-team/issues/326

r? @Mark-Simulacrum , but anyone is free to give an opinion.
Diffstat (limited to 'src/test/rustdoc-ui/coverage/doc-examples.rs')
0 files changed, 0 insertions, 0 deletions