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 14 pull requests #52013

Closed
wants to merge 36 commits into from
Closed

Commits on Jun 14, 2018

  1. Initialize LLVM's AMDGPU target machine, if available.

    Note this isn't useful, yet. More changes will be necessary to be able to
    actually codegen for this machine. As such, it is not enabled by default.
    
    This patch is on its own for the benefit of the reviewers.
    DiamondLovesYou committed Jun 14, 2018
    Configuration menu
    Copy the full SHA
    b4d64b7 View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2018

  1. Configuration menu
    Copy the full SHA
    7015dfd View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2018

  1. Configuration menu
    Copy the full SHA
    011eaed View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f315943 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5468e12 View commit details
    Browse the repository at this point in the history
  4. Provide llvm-strip in llvm-tools component

    Shipping this tool gives people reliable way to reduce the generated executable size.
    
    I'm not sure if this strip tool is available from the llvm version current rust is built on. But let's take a look. @japaric
    crlf0710 authored Jul 1, 2018
    Configuration menu
    Copy the full SHA
    de2ecea View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2018

  1. Configuration menu
    Copy the full SHA
    e89db30 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6e5b9c1 View commit details
    Browse the repository at this point in the history
  3. Update rustdoc

    oli-obk committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    75a6fde View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3779a4c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    79d8d08 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    73166f7 View commit details
    Browse the repository at this point in the history
  7. add outlives annotations to BTreeMap

    nll requires these annotations, I believe because of
    rust-lang#29149
    nikomatsakis committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    59f2edb View commit details
    Browse the repository at this point in the history
  8. bootstrap: tests should use rustc from config.toml

    Tests should always use "rustc" and "cargo" from config.toml instead
    of assuming that stage0 binaries was downloaded to build directory.
    mnd committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    ddc1d29 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    29851ba View commit details
    Browse the repository at this point in the history
  10. Make Stdio handle UnwindSafe

    estk committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    9797665 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    f5570d0 View commit details
    Browse the repository at this point in the history
  12. Fix the tool's path in toolstate verification.

    This ensure we do block the tools when they are broken during an update.
    kennytm committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    d914574 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    20231d7 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    689cffa View commit details
    Browse the repository at this point in the history
  15. Change --keep-stage to apply more

    Previously, the --keep-stage argument would only function for compilers
    that were depended on by future stages. For example, if trying to build
    a stage 1 compiler you could --keep-stage 0 to avoid re-building the
    stage 0 compiler. However, this is often not what users want in
    practice.
    
    The new implementation essentially skips builds all higher stages of the
    compiler, so an argument of 1 to keep-stage will skip rebuilds of the
    libraries, just linking them into the sysroot. This is unlikely to work
    well in cases where metadata or similar changes have been made, but is
    likely fine otherwise.
    
    This change is somewhat untested, but since it shouldn't have any effect
    except with --keep-stage, I don't see that as a large problem.
    Mark-Simulacrum committed Jul 2, 2018
    Configuration menu
    Copy the full SHA
    9eda4aa View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2018

  1. Configuration menu
    Copy the full SHA
    447f1f3 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#51548 - DiamondLovesYou:amdgpu-target-machi…

    …ne, r=alexcrichton
    
    Initialize LLVM's AMDGPU target machine, if available.
    
    Note this isn't useful, yet. More changes will be necessary to be able to
    actually codegen for this machine. As such, it is not enabled by default.
    
    This patch is on its own for the benefit of the reviewers.
    pietroalbini authored Jul 3, 2018
    Configuration menu
    Copy the full SHA
    f1c7255 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#51809 - drrlvn:rw_exact_all_at, r=alexcrichton

    Add read_exact_at and write_all_at methods to FileExt on unix
    
    This PR adds `FileExt::read_exact_at()` and `FileExt::write_all_at()`, which are to `read_at()` and `write_at()` as `read_exact()` and `write_all()` are to `read()` and `write()`. This allows the user to not have to deal with `ErrorKind::Interrupted` and calling the functions in a loop.
    
    I was unsure as to how to mark these new methods so I marked them `unstable`, please let me know if I should have done it differently.
    
    I asked in Discord and was told that as this change is small it does not require an RFC.
    pietroalbini authored Jul 3, 2018
    Configuration menu
    Copy the full SHA
    80016fd View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#51914 - nikomatsakis:nll-fix-issue-issue-bt…

    …reemap-annotations, r=gankro
    
    add outlives annotations to `BTreeMap`
    
    NLL requires these annotations, I believe because of <rust-lang#29149>.
    
    Fixes rust-lang#48224
    
    r? @gankro
    cc @lqd
    pietroalbini authored Jul 3, 2018
    Configuration menu
    Copy the full SHA
    f678fac View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#51958 - euclio:attr-refactor, r=petrochenkov

    Show known meta items in unknown meta items error
    
    This PR adds a label to E0541. It also factors built-in attribute parsing into a submodule of `attr` for ease of future refactoring.
    
    Fixes rust-lang#51469.
    pietroalbini authored Jul 3, 2018
    Configuration menu
    Copy the full SHA
    855436f View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#51962 - crlf0710:patch-2, r=alexcrichton

    Provide llvm-strip in llvm-tools component
    
    Shipping this tool gives people reliable way to reduce the generated executable size.
    
    I'm not sure if this strip tool is available from the llvm version current rust is built on. But let's take a look. @japaric
    pietroalbini authored Jul 3, 2018
    Configuration menu
    Copy the full SHA
    33b065d View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#51973 - estk:master, r=abonander

    Make Stdio handle UnwindSafe
    
    Closes  rust-lang#51863
    
    This is my first compiler PR. Thanks Niko for the mentor help!
    
    r? @nikomatsakis
    pietroalbini authored Jul 3, 2018
    Configuration menu
    Copy the full SHA
    ce8f206 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#51977 - mnd:fix-bootstrap-test-with-local-s…

    …tage0, r=simulacrum
    
    bootstrap: tests should use rustc from config.toml
    
    Tests should always use "rustc" and "cargo" from config.toml instead of assuming that stage0 binaries was downloaded to build directory.
    
    Without this change `./x.py test src/bootstrap` will always try to use `build/ARCH/stage0/bin/rustc` file as compiler, but when we use local compiler to bootstrap this file does not exist.
    pietroalbini authored Jul 3, 2018
    Configuration menu
    Copy the full SHA
    bed04c1 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#51978 - estebank:issue-48364, r=oli-obk

    Do not suggest changes to str literal if it isn't one
    
    Fix rust-lang#48364.
    pietroalbini authored Jul 3, 2018
    Configuration menu
    Copy the full SHA
    2c2ab84 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#51979 - oli-obk:lowering_cleanups4, r=nikom…

    …atsakis
    
    Get rid of `TyImplTraitExistential`
    
    cc @eddyb
    
    r? @nikomatsakis
    pietroalbini authored Jul 3, 2018
    Configuration menu
    Copy the full SHA
    fe668b9 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#51980 - est31:columns, r=alexcrichton

    Emit column info in debuginfo for non msvc like targets
    
    Fixes rust-lang#42921 everywhere except MSVC. This mimics clang behaviour.
    pietroalbini authored Jul 3, 2018
    Configuration menu
    Copy the full SHA
    c7a0996 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#51982 - michaelwoerister:hash-modules-prope…

    …rly, r=nikomatsakis
    
    incr.comp.: Take names of children into account when computing the ICH of a module's HIR.
    
    Fixes rust-lang#40876. Red-green tracking does not make this a problem anymore. We should verify this via a perf-run though.
    
    r? @nikomatsakis
    pietroalbini authored Jul 3, 2018
    Configuration menu
    Copy the full SHA
    2346398 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#51997 - euclio:release-notes, r=Aaronepower

    add entry for cargo-metadata feature to RELEASES
    pietroalbini authored Jul 3, 2018
    Configuration menu
    Copy the full SHA
    ef356d6 View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#52004 - kennytm:toolstate-fixes, r=Mark-Sim…

    …ulacrum
    
    toolstate: Fixed detection of changed submodule, and other fixes.
    
    1. Make sure that if a submodule is updated but failed to test-pass, we'll block the merge.
    2. Make sure failure on external docs (nomicon/RBE/etc) are properly checked.
    3. If the commit message starts with "Update RLS" (or clippy etc), automatically run the "tools" job on the PR, so that we could know if the update failed before merging.
    pietroalbini authored Jul 3, 2018
    Configuration menu
    Copy the full SHA
    09ba8fb View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#52006 - Mark-Simulacrum:keep-stage-fix, r=a…

    …lexcrichton
    
     Change --keep-stage to apply more often
    
    Previously, the --keep-stage argument would only function for compilers
    that were depended on by future stages. For example, if trying to build
    a stage 1 compiler you could --keep-stage 0 to avoid re-building the
    stage 0 compiler. However, this is often not what users want in
    practice.
    
    The new implementation essentially skips builds all higher stages of the
    compiler, so an argument of 1 to keep-stage will skip rebuilds of the
    libraries, just linking them into the sysroot. This is unlikely to work
    well in cases where metadata or similar changes have been made, but is
    likely fine otherwise.
    
    This change is somewhat untested, but since it shouldn't have any effect
    except with --keep-stage, I don't see that as a large problem.
    
    r? @alexcrichton
    cc @nikomatsakis - I believe you wanted this functionality
    pietroalbini authored Jul 3, 2018
    Configuration menu
    Copy the full SHA
    59931c6 View commit details
    Browse the repository at this point in the history