diff options
| author | bors <bors@rust-lang.org> | 2022-03-29 01:09:22 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-03-29 01:09:22 +0000 |
| commit | ad5b6f6b72091261ac421d1331b2350f628d1fcb (patch) | |
| tree | 399e752e258789a40d17e151ab45cb96b953dd15 /compiler/rustc_codegen_gcc | |
| parent | c1230e137b9b82c97eef178b9a3689ef093b33fa (diff) | |
| parent | 935e281959b5d02dd8939da58f2a648a28af2a9b (diff) | |
| download | rust-ad5b6f6b72091261ac421d1331b2350f628d1fcb.tar.gz rust-ad5b6f6b72091261ac421d1331b2350f628d1fcb.zip | |
Auto merge of #95417 - ehuss:doc-no_std-error, r=Dylan-DPC
bootstrap: better error message for no_std docs Currently if one tries to build std documentation for a no_std target, you get a confusing error message: `error: The argument '--package [<SPEC>...]' was provided more than once, but cannot be used multiple times` This is because [`std_cargo`](https://github.com/rust-lang/rust/blob/600ec284838c52d1f6657c2cf0097b58970b133b/src/bootstrap/compile.rs#L299-L305) has a built-in `-p alloc` argument that conflicts with the `cargo rustdoc` command used in the Std doc step. This just adds a better error message in this scenario. It may be possible to fix this correctly, but that would likely be a bit more of an invasive change that I don't have time for right now.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions
