about summary refs log tree commit diff
path: root/src/test/codegen
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2021-04-25 23:15:11 +0200
committerGitHub <noreply@github.com>2021-04-25 23:15:11 +0200
commit379a55c64ef72df1c8272ac33ba730244d1395d4 (patch)
tree2974fc18fd6afd1b9083cc5455f01f2d7d5a60ad /src/test/codegen
parente7e22b47ad25f03c9a085f0b99346cab201847db (diff)
parentd326a4b4c9176193ff0ac445ec14ac50bd081f04 (diff)
downloadrust-379a55c64ef72df1c8272ac33ba730244d1395d4.tar.gz
rust-379a55c64ef72df1c8272ac33ba730244d1395d4.zip
Rollup merge of #84450 - jyn514:missing-std, r=petrochenkov
Give a better error when `std` or `core` are missing

- Suggest using `rustup target add` if `RUSTUP_HOME` is set. I don't know if there's any precedent for doing this, but it seems harmless enough and it will be a big help.
- On nightly, suggest using `cargo build -Z build-std` if `CARGO` is set
- Add a note about `#![no_std]` if `std` is missing but not core
- Add a note that std may be unsupported if `std` is missing but not core

Fixes https://github.com/rust-lang/rust/issues/84418.

r? `@petrochenkov`
Diffstat (limited to 'src/test/codegen')
0 files changed, 0 insertions, 0 deletions