Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Give a better error when std or core are missing #84450

Merged
merged 1 commit into from
Apr 26, 2021

Commits on Apr 25, 2021

  1. 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
    jyn514 committed Apr 25, 2021
    Configuration menu
    Copy the full SHA
    d326a4b View commit details
    Browse the repository at this point in the history