summary refs log tree commit diff
path: root/src/test/ui/crate-loading/missing-std.rs
AgeCommit message (Collapse)AuthorLines
2021-04-25Give a better error when std or core are missingJoshua Nelson-0/+11
- 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. - Add a note about `#![no_std]` if `std` is missing but not core - On nightly, suggest using `cargo build -Z build-std` if `CARGO` is set - Add a note that std may be unsupported if `std` is missing but not core - Don't suggest `#![no_std]` when the load isn't injected by the compiler