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 21 pull requests #49337

Merged
merged 69 commits into from
Mar 24, 2018
Merged

Rollup of 21 pull requests #49337

merged 69 commits into from
Mar 24, 2018

Commits on Mar 16, 2018

  1. Fix Issue rust-lang#48345, is_file, is_dir, and is_symlink note mutua…

    …l exclusion
    
    The methods on the structures `fs::FileType` and `fs::Metadata` of (respectively) `is_file`, `is_dir`, and
    `is_symlink` had some ambiguity in documentation, where it was not noted whether files will pass those tests
    exclusively or not. It is now written that the tests are mutually exclusive.
    
    Fixes rust-lang#48345.
    Maxwell Powlison committed Mar 16, 2018
    Configuration menu
    Copy the full SHA
    aaac69f View commit details
    Browse the repository at this point in the history
  2. Add OnDrop

    Zoxc committed Mar 16, 2018
    Configuration menu
    Copy the full SHA
    683ad94 View commit details
    Browse the repository at this point in the history
  3. Replace Rc with Lrc

    Zoxc committed Mar 16, 2018
    Configuration menu
    Copy the full SHA
    3b43dcb View commit details
    Browse the repository at this point in the history
  4. Always print aborting due to n previous error(s) and only print it …

    …once for multi-threaded code
    Zoxc committed Mar 16, 2018
    Configuration menu
    Copy the full SHA
    910bf84 View commit details
    Browse the repository at this point in the history
  5. Update tests

    Zoxc committed Mar 16, 2018
    Configuration menu
    Copy the full SHA
    b1d872b View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2018

  1. rustbuild: Tweak where timing information goes

    This commit tweaks where timing and step information is printed out as part of
    the build, ensuring that we do it as close to the location where work happens as
    possible. In rustbuild various functions may perform long blocking work as
    dependencies are assembled, so if we print out timing information early on we
    may accidentally time more than just the step we were intending to time!
    alexcrichton committed Mar 17, 2018
    Configuration menu
    Copy the full SHA
    6fd4d67 View commit details
    Browse the repository at this point in the history
  2. Stabilise FromUtf8Error::as_bytes

    varkor committed Mar 17, 2018
    Configuration menu
    Copy the full SHA
    b57ea56 View commit details
    Browse the repository at this point in the history
  3. Add a -Z flag for LLVM align attributes on arguments

    LLVM seems to still put the assume calls in when inlining, so this probably isn't in a place where it can be turned on by default, but it's interesting to experiment with.
    
    For example, this makes `swap::<u64x8>` be 8x `vmovaps	ymm` instead of 16x `vmovups	xmm`, on my cpu.
    scottmcm committed Mar 17, 2018
    Configuration menu
    Copy the full SHA
    b498192 View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2018

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

Commits on Mar 19, 2018

  1. Configuration menu
    Copy the full SHA
    c5c650d View commit details
    Browse the repository at this point in the history
  2. Stabilize termination_trait

    This stabilizes `main` with non-() return types; see rust-lang#48453.
    tmandry committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    97b3bf9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e5a55e7 View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2018

  1. Configuration menu
    Copy the full SHA
    be29e52 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5ccf3ff View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    72334fe View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    57896ab View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2018

  1. Revert "Stabilize termination_trait in 1.25, not 1.26"

    This reverts commit e5a55e7.
    tmandry committed Mar 21, 2018
    Configuration menu
    Copy the full SHA
    1937661 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    94bdeb6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2cdc7af View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5201e7c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    afff64e View commit details
    Browse the repository at this point in the history
  6. Bump racer and home

    This removes 10 dependencies from the build 🎉
    Eijebong committed Mar 21, 2018
    Configuration menu
    Copy the full SHA
    06f8103 View commit details
    Browse the repository at this point in the history
  7. Cargo fmt libtest

    topecongiro committed Mar 21, 2018
    Configuration menu
    Copy the full SHA
    75dcc61 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    b6934c9 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    178652a View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    1392179 View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2018

  1. Fixed clockwise/counter-clockwise in atan2 documentation in f32 and f64

    and included that it returns radians
    Tacklebox committed Mar 22, 2018
    Configuration menu
    Copy the full SHA
    c116b0e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2b13d95 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    613fb8b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a1a3bf2 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9839e5f View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    9fa14e4 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    1b0e9f5 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    73fa6d5 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2018

  1. Allow installing rustfmt without config.extended

    This assertion was preventing `./x.py install rustfmt` if attempted
    without an "extended" build configuration, but it actually builds and
    installs just fine.
    cuviper committed Mar 23, 2018
    Configuration menu
    Copy the full SHA
    86f7d89 View commit details
    Browse the repository at this point in the history
  2. Vec<_> -> IndexVec<Local, _>

    oli-obk committed Mar 23, 2018
    Configuration menu
    Copy the full SHA
    bf8e4f2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b18b776 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4ea4dd2 View commit details
    Browse the repository at this point in the history
  5. Stabilize the copy_closures and clone_closures features

    In addition to the `Fn*` family of traits, closures now implement `Copy` (and similarly `Clone`) if all of the captures do.
    SimonSapin committed Mar 23, 2018
    Configuration menu
    Copy the full SHA
    ee67e14 View commit details
    Browse the repository at this point in the history
  6. Simplify local accessors

    oli-obk committed Mar 23, 2018
    Configuration menu
    Copy the full SHA
    f9019ae View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    00721de View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    1efe0b3 View commit details
    Browse the repository at this point in the history
  9. Fix IE11 search

    GuillaumeGomez committed Mar 23, 2018
    Configuration menu
    Copy the full SHA
    90588a9 View commit details
    Browse the repository at this point in the history
  10. Remove getopts leftover from tree

    This was attempted but left incomplete in PR rust-lang#42664, where only the toml
    file was removed.
    Mark-Simulacrum committed Mar 23, 2018
    Configuration menu
    Copy the full SHA
    700fd5a View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    3bfed9e View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    f8fc5c0 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    3d0ccb2 View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2018

  1. Configuration menu
    Copy the full SHA
    36322d0 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#49046 - Zoxc:error-summary, r=michaelwoerister

    Always print `aborting due to n previous error(s)`
    
    r? @michaelwoerister
    kennytm authored Mar 24, 2018
    Configuration menu
    Copy the full SHA
    9c5f372 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#49076 - bobdavelisafrank:filetype-metadata-…

    …docfix, r=bluss
    
    Fix Issue rust-lang#48345, is_file, is_dir, and is_symlink note mutual exclusion
    
    The methods on the structures `fs::FileType` and `fs::Metadata` of (respectively) `is_file`, `is_dir`, and `is_symlink` had some ambiguity in documentation, where it was not noted whether files will pass those tests exclusively or not. It is now written that the tests are mutually exclusive.
    
    Fixes rust-lang#48345.
    kennytm authored Mar 24, 2018
    Configuration menu
    Copy the full SHA
    17d39ed View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#49089 - alexcrichton:fix-timings, r=Mark-Si…

    …mulacrum
    
    rustbuild: Tweak where timing information goes
    
    This commit tweaks where timing and step information is printed out as part of
    the build, ensuring that we do it as close to the location where work happens as
    possible. In rustbuild various functions may perform long blocking work as
    dependencies are assembled, so if we print out timing information early on we
    may accidentally time more than just the step we were intending to time!
    kennytm authored Mar 24, 2018
    Configuration menu
    Copy the full SHA
    23b4bf9 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#49120 - Zoxc:parallel-ci, r=alexcrichton

     Add a CI job for parallel rustc using x.py check
    
    r? @alexcrichton
    kennytm authored Mar 24, 2018
    Configuration menu
    Copy the full SHA
    c5264a5 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#49121 - varkor:stabilise-from_utf8_error_as…

    …_bytes, r=bluss
    
    Stabilise FromUtf8Error::as_bytes
    
    Closes rust-lang#40895.
    kennytm authored Mar 24, 2018
    Configuration menu
    Copy the full SHA
    adb7984 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#49122 - scottmcm:z-align-attr, r=cramertj

    Add a -Z flag for LLVM align attributes on arguments
    
    LLVM seems to still put the assume calls in when inlining, so this probably isn't in a place where it can be turned on by default, but it's interesting to experiment with.
    
    For example, this makes `mem::swap::<u64x8>` be 8x `vmovaps	ymm` instead of 16x `vmovups	xmm`, on my cpu.
    kennytm authored Mar 24, 2018
    Configuration menu
    Copy the full SHA
    c892e68 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#49162 - tmandry:stabilize-termination-trait…

    …, r=nikomatsakis
    
    Stabilize termination_trait, split out termination_trait_test
    
    For rust-lang#48453.
    
    First time contribution, so I'd really appreciate any feedback on how this PR can be better.
    
    Not sure exactly what kind of documentation update is needed. If there is no PR to update the reference, I can try doing that this week as I have time.
    kennytm authored Mar 24, 2018
    Configuration menu
    Copy the full SHA
    8d57071 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#49193 - davidtwco:issue-29893, r=alexcrichton

    Host compiler documentation
    
    Fixes rust-lang#29893. Rust Central Station PR: rust-lang/rust-central-station#40
    
    r? @alexcrichton
    kennytm authored Mar 24, 2018
    Configuration menu
    Copy the full SHA
    311814a View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#49194 - Zoxc:unsafe-generator, r=cramertj

    Make resuming generators unsafe instead of the creation of immovable generators
    
    cc @withoutboats
    
    Fixes rust-lang#47787
    kennytm authored Mar 24, 2018
    Configuration menu
    Copy the full SHA
    e2b8922 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#49203 - Eijebong:lets-cleanup-dependencies,…

    … r=Mark-Simulacrum
    
    Bump racer and home
    
    This removes 10 dependencies from the build 🎉
    kennytm authored Mar 24, 2018
    Configuration menu
    Copy the full SHA
    2bd27c9 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#49229 - Centril:doc/format_args_display_deb…

    …ug, r=steveklabnik
    
    Document format_args! / Arguments<'a> behavior wrt. Display and Debug
    
    This is a follow up PR to rust-lang#49067 , this documents the behavior of `format_args!` (i.e: `Argument<'a>`) wrt. `Display` and `Debug`.
    
    r? @steveklabnik
    kennytm authored Mar 24, 2018
    Configuration menu
    Copy the full SHA
    8c1535f View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#49235 - topecongiro:run-rustfmt/libtest, r=nrc

    Cargo fmt libtest
    
    r? @nrc
    
    Using `rustfmt 0.4.1- (87180d9 2018-03-16)` (`rustfmt --version` is a bit broken).
    kennytm authored Mar 24, 2018
    Configuration menu
    Copy the full SHA
    23967c3 View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#49254 - Tacklebox:atan2_doc, r=QuietMisdreavus

    Fixed clockwise/counter-clockwise in atan2 documentation in f32 and f64 and included that it returns radians
    
    None
    kennytm authored Mar 24, 2018
    Configuration menu
    Copy the full SHA
    88277f5 View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#49268 - ordovicia:dotdot-pattern-diag, r=pe…

    …trochenkov
    
    Better diagnostics for '..' pattern fragment not in the last position
    
    Fixes rust-lang#49257.
    kennytm authored Mar 24, 2018
    Configuration menu
    Copy the full SHA
    3bc81f7 View commit details
    Browse the repository at this point in the history
  16. Rollup merge of rust-lang#49273 - michaelwoerister:fix-extern-proc-ma…

    …cro-defkey, r=eddyb
    
    Fix DefKey lookup for proc-macro crates.
    
    Add a special case for proc-macro crates for `def_key()` in the metadata decoder (like we already have for many other methods in there). In the long run, it would be preferable to get rid of the need for special casing proc-macro crates (see rust-lang#49271).
    
    Fixes rust-lang#48739 (though I wasn't able to come up with a regression test, unfortunately)
    
    r? @eddyb
    kennytm authored Mar 24, 2018
    Configuration menu
    Copy the full SHA
    2b2f916 View commit details
    Browse the repository at this point in the history
  17. Rollup merge of rust-lang#49274 - oli-obk:slow_miri, r=michaelwoerist…

    …er,eddyb
    
    Remove slow HashSet during miri stack frame creation
    
    fixes rust-lang#49237
    
    probably has a major impact on rust-lang#48846
    
    r? @michaelwoerister
    
    cc @eddyb I know you kept telling me to use vectors instead of hash containers... Now I know why.
    kennytm authored Mar 24, 2018
    Configuration menu
    Copy the full SHA
    924f24a View commit details
    Browse the repository at this point in the history
  18. Rollup merge of rust-lang#49290 - cuviper:unextended-dist-rustfmt, r=…

    …nikomatsakis
    
    Allow installing rustfmt without config.extended
    
    This assertion was preventing `./x.py install rustfmt` if attempted
    without an "extended" build configuration, but it actually builds and
    installs just fine.
    kennytm authored Mar 24, 2018
    Configuration menu
    Copy the full SHA
    177e20d View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    2580edf View commit details
    Browse the repository at this point in the history
  20. Rollup merge of rust-lang#49314 - Mark-Simulacrum:remove-getopts, r=a…

    …lexcrichton
    
    Remove getopts leftover from tree
    
    This was attempted but left incomplete in PR rust-lang#42664, where only the toml
    file was removed.
    
    cc @alexcrichton
    kennytm authored Mar 24, 2018
    Configuration menu
    Copy the full SHA
    3d68959 View commit details
    Browse the repository at this point in the history
  21. Rollup merge of rust-lang#49318 - steveklabnik:update-books, r=kennytm

    update books for next release
    kennytm authored Mar 24, 2018
    Configuration menu
    Copy the full SHA
    5454451 View commit details
    Browse the repository at this point in the history
  22. Rollup merge of rust-lang#49299 - SimonSapin:ubiquity, r=nikomatsakis

    Stabilize the copy_closures and clone_closures features
    
    In addition to the `Fn*` family of traits, closures now implement `Copy` (and similarly `Clone`) if all of the captures do.
    
    Tracking issue: rust-lang#44490
    kennytm committed Mar 24, 2018
    Configuration menu
    Copy the full SHA
    297a6e5 View commit details
    Browse the repository at this point in the history