about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff
diff options
context:
space:
mode:
authorJoshua Nelson <jyn514@gmail.com>2021-04-22 15:23:30 -0400
committerJoshua Nelson <jyn514@gmail.com>2021-04-25 16:45:31 +0000
commitd326a4b4c9176193ff0ac445ec14ac50bd081f04 (patch)
treeeec1661c411b0c095a42875afe9e45be65d7ceac /tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff
parent7e11f3a8f3c1b2683125e7def0acb68a6d684f92 (diff)
downloadrust-d326a4b4c9176193ff0ac445ec14ac50bd081f04.tar.gz
rust-d326a4b4c9176193ff0ac445ec14ac50bd081f04.zip
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.
- 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
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff')
0 files changed, 0 insertions, 0 deletions