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

Update the build instructions for the standard library #1389

Merged
merged 1 commit into from
Jul 11, 2022

Commits on Jul 11, 2022

  1. Update the build instructions for the standard library

    Since rust-lang/rust#95503, `library/std` means
    "build just std and its dependencies"; to get the old behavior that built
    `proc_macro` and `test`, you need `x build library`.
    
    - Update `library/std` to `library`
    - Remove the `-i` suggestions; `incremental = true` is already the default for most profiles, in
      which case `-i` does nothing. If you don't have incremental enabled, I still think suggesting `-i`
      is bad idea, because it's easy to forget once, at which point you'll end up rebuilding the whole
      compiler / standard library.
    - Remove a few repetitive sections and don't discuss incremental in such detail
      Incremental works well enough that it should "just work" for most people;
      I don't think it needs multiple paragraphs of explanation so early in the guide.
    - Clarify that `test library/std` *only* tests libstd in a few places
    jyn514 committed Jul 11, 2022
    Configuration menu
    Copy the full SHA
    444a5eb View commit details
    Browse the repository at this point in the history