rust/compiler/rustc_metadata
Dylan DPC 379a55c64e
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`
2021-04-25 23:15:11 +02:00
..
src Rollup merge of #84450 - jyn514:missing-std, r=petrochenkov 2021-04-25 23:15:11 +02:00
Cargo.toml Add an Mmap wrapper to rustc_data_structures 2021-03-30 18:57:03 +02:00