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

Rollup of 6 pull requests #71059

Merged
merged 16 commits into from
Apr 12, 2020
Merged

Rollup of 6 pull requests #71059

merged 16 commits into from
Apr 12, 2020

Commits on Apr 11, 2020

  1. Configuration menu
    Copy the full SHA
    45ede92 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e2e41c9 View commit details
    Browse the repository at this point in the history
  3. Update links of rustc guide

    JohnTitor committed Apr 11, 2020
    Configuration menu
    Copy the full SHA
    6b28304 View commit details
    Browse the repository at this point in the history
  4. Depend on getopts from crates.io

    rustc_session exports it for other crates to avoid mismatching
    crate versions.
    luca-barbieri authored and Mark-Simulacrum committed Apr 11, 2020
    Configuration menu
    Copy the full SHA
    ac2b84f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    53d58db View commit details
    Browse the repository at this point in the history
  6. Don't emit rerun-if-changed on llvm-config if using system LLVM

    The code was broken because it printed "llvm-config" instead of the
    absolute path to the llvm-config executable, causing Cargo to always
    rebuild librustc_llvm if using system LLVM.
    
    Also, it's not the build system's job to rebuild when a system library
    changes, so we simply don't emit "rerun-if-changed" if a path to LLVM
    was not explicitly provided.
    luca-barbieri authored and Mark-Simulacrum committed Apr 11, 2020
    Configuration menu
    Copy the full SHA
    3dd500d View commit details
    Browse the repository at this point in the history
  7. Make panic-unwind a default feature for libstd

    x.py sets it unconditionally, so want it for plain "cargo build".
    
    We need to load one of the panic runtimes that is in src (vs. pre-built in the
    compiler's sysroot) to ensure that we don't load libpanic_unwind from the
    sysroot. That would lead to a load of libcore, also from the sysroot, and create
    lots of errors about duplicate lang items.
    luca-barbieri authored and Mark-Simulacrum committed Apr 11, 2020
    Configuration menu
    Copy the full SHA
    1864caa View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2020

  1. Normalize source when loading external foreign source into SourceMap

    The compiler normalizes source when reading files initially (removes BOMs, etc), but not when loading external sources.
    
    Fixes rust-lang#70874 by normalizing when loading external sources too. Adds a test to verify normalization.
    arlosi committed Apr 12, 2020
    Configuration menu
    Copy the full SHA
    f41aa16 View commit details
    Browse the repository at this point in the history
  2. Add some basic docs to sym and kw modules

    I was looking into improving some Clippy documentation but was missing a
    place that explains the `kw` and `sym` modules from rustc.
    phansch committed Apr 12, 2020
    Configuration menu
    Copy the full SHA
    ec4f7e2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d0b23d5 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#71029 - Mark-Simulacrum:cargo-build, r=Mark…

    …-Simulacrum
    
    Partial work on building with Cargo
    
    This cherry picks the commits I'm directly approving from rust-lang#70999, I want to land them so that that PR is smaller.
    Dylan-DPC authored Apr 12, 2020
    Configuration menu
    Copy the full SHA
    b83c2e9 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#71034 - GuillaumeGomez:cleanup-e0515, r=Dyl…

    …an-DPC
    
    Clean up E0515 explanation
    
    r? @Dylan-DPC
    Dylan-DPC authored Apr 12, 2020
    Configuration menu
    Copy the full SHA
    b3372ba View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#71041 - JohnTitor:rustc-dev-guide, r=jonas-…

    …schievink
    
    Update links of `rustc guide`
    
    Picks up the things we left behind in the transition, hopefully they're last ones.
    
    r? @spastorino
    Dylan-DPC authored Apr 12, 2020
    Configuration menu
    Copy the full SHA
    d608dfc View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#71048 - arlosi:normalize_ext_src, r=eddyb

    Normalize source when loading external foreign source into SourceMap
    
    The compiler normalizes source when reading files initially (removes BOMs, etc), but not when loading external sources.
    
    This leads to the external source matching according to the `src_hash`, but differing internally because it was not normalized.
    
    Fixes rust-lang#70874.
    Dylan-DPC authored Apr 12, 2020
    Configuration menu
    Copy the full SHA
    9c34740 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#71053 - phansch:update_kw_sym_docs, r=Dylan…

    …-DPC
    
    Add some basic docs to `sym` and `kw` modules
    
    I was looking into improving some Clippy documentation but was missing a
    place that explains the `kw` and `sym` modules from rustc.
    
    This adds some very basic usage documentation to these modules.
    Dylan-DPC authored Apr 12, 2020
    Configuration menu
    Copy the full SHA
    0e47d69 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#71057 - GuillaumeGomez:cleanup-e0516, r=Dyl…

    …an-DPC
    
    Clean up E0516 explanation
    
    r? @Dylan-DPC
    Dylan-DPC authored Apr 12, 2020
    Configuration menu
    Copy the full SHA
    e684630 View commit details
    Browse the repository at this point in the history