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 17 pull requests #59921

Closed
wants to merge 46 commits into from
Closed

Commits on Apr 4, 2019

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

Commits on Apr 5, 2019

  1. Increase Span from 4 bytes to 8 bytes.

    This increases the size of some important types, such as `ast::Expr` and
    `mir::Statement`. However, it drastically reduces how much the interner
    is used, and the fields are more natural sizes that don't require bit
    operations to extract.
    
    As a result, instruction counts drop across a range of workloads, by as
    much as 12% for incremental "check" builds of `script-servo`.
    
    Peak memory usage goes up a little for some cases, but down by more for
    some other cases -- as much as 18% for non-incremental builds of
    `packed-simd`.
    
    The commit also:
    - removes the `repr(packed)`, because it has negligible effect, but can
      cause undefined behaviour;
    - replaces explicit impls of common traits (`Copy`, `PartialEq`, etc.)
      with derived ones.
    nnethercote committed Apr 5, 2019
    Configuration menu
    Copy the full SHA
    fd7f605 View commit details
    Browse the repository at this point in the history
  2. remove lookup_char_pos_adj

    It is now exactly equivalent to lookup_char_pos.
    matklad committed Apr 5, 2019
    Configuration menu
    Copy the full SHA
    63080b3 View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2019

  1. Configuration menu
    Copy the full SHA
    1c3979c View commit details
    Browse the repository at this point in the history
  2. Remove copy_book_toml method in favor for copy_recursive

    Bastian Gruber committed Apr 6, 2019
    Configuration menu
    Copy the full SHA
    5ddb339 View commit details
    Browse the repository at this point in the history
  3. path -> from

    Bastian Gruber committed Apr 6, 2019
    Configuration menu
    Copy the full SHA
    280277a View commit details
    Browse the repository at this point in the history
  4. Limit dylib symbols

    Zoxc committed Apr 6, 2019
    Configuration menu
    Copy the full SHA
    2f948ea View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2019

  1. Change root path for unstable-book

    Bastian Gruber committed Apr 7, 2019
    Configuration menu
    Copy the full SHA
    34c1572 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2019

  1. Configuration menu
    Copy the full SHA
    b8e9da7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6b01844 View commit details
    Browse the repository at this point in the history
  3. Explicit promotion is indistinguishable from explicit promotion

    Implicit promotion on the other hand has very strict rules on what may be done
    oli-obk committed Apr 8, 2019
    Configuration menu
    Copy the full SHA
    ec52065 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d3d5673 View commit details
    Browse the repository at this point in the history
  5. Pacify tidy

    oli-obk committed Apr 8, 2019
    Configuration menu
    Copy the full SHA
    c63b9ff View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ae4717d View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2019

  1. Clean up jobserver integration

    Zoxc committed Apr 9, 2019
    Configuration menu
    Copy the full SHA
    03727a4 View commit details
    Browse the repository at this point in the history
  2. Fix links on keyword docs.

    - Make links relative.
    - Adjust links from old 2018-edition book.
    - Fix broken link in `let` docs.
    ehuss committed Apr 9, 2019
    Configuration menu
    Copy the full SHA
    1ad46cd View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2019

  1. Configuration menu
    Copy the full SHA
    6635fbe View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2f97552 View commit details
    Browse the repository at this point in the history
  3. Update ui test

    tesuji committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    404df31 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f10394a View commit details
    Browse the repository at this point in the history
  5. std: Add {read,write}_vectored for more types

    This commit implements the `{read,write}_vectored` methods on more types
    in the standard library, namely:
    
    * `std::fs::File`
    * `std::process::ChildStd{in,out,err}`
    * `std::io::Std{in,out,err}`
    * `std::io::Std{in,out,err}Lock`
    * `std::io::Std{in,out,err}Raw`
    
    Where supported the OS implementations hook up to native support,
    otherwise it falls back to the already-defaulted implementation.
    alexcrichton committed Apr 10, 2019
    Configuration menu
    Copy the full SHA
    acf3ddb View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    825a11e View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2019

  1. Configuration menu
    Copy the full SHA
    d7f5c50 View commit details
    Browse the repository at this point in the history
  2. forgot one

    mark-i-m committed Apr 11, 2019
    Configuration menu
    Copy the full SHA
    6fd3f5a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    22f2afe View commit details
    Browse the repository at this point in the history
  4. remove warn

    mark-i-m committed Apr 11, 2019
    Configuration menu
    Copy the full SHA
    e149dc0 View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2019

  1. In -Zprint-type-size output, sort enum variants by size.

    It's useful to see the biggest variants first.
    nnethercote committed Apr 12, 2019
    Configuration menu
    Copy the full SHA
    ca1ab3e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1ce6645 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fc928a1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e728ee0 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#59693 - nnethercote:64-bit-Spans, r=petroch…

    …enkov
    
    Increase `Span` from 4 bytes to 8 bytes.
    
    This increases the size of some important types, such as `ast::Expr` and
    `mir::Statement`. However, it drastically reduces how much the interner
    is used, and the fields are more natural sizes that don't require bit
    operations to extract.
    
    As a result, instruction counts drop across a range of workloads, by as
    much as 10% for `script-servo` incremental builds.
    
    Peak memory usage goes up a little for some cases, but down by more for
    some other cases -- as much as 18% for non-incremental builds of
    `packed-simd`.
    
    The commit also:
    - removes the `repr(packed)`, because it has negligible effect, but can
      cause undefined behaviour;
    - replaces explicit impls of common traits (`Copy`, `PartialEq`, etc.)
      with derived ones.
    
    r? @petrochenkov
    Centril committed Apr 12, 2019
    Configuration menu
    Copy the full SHA
    dcbbb1b View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#59708 - matthewjasper:double-closure-unused…

    …-mut, r=pnkfelix
    
    Mark variables captured by reference as mutable correctly
    
    Closes rust-lang#59620
    
    r? @pnkfelix
    Centril committed Apr 12, 2019
    Configuration menu
    Copy the full SHA
    aa687ed View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#59735 - matklad:deadcode, r=sanxiyn

    remove lookup_char_pos_adj
    
    It is now exactly equivalent to lookup_char_pos.
    Centril committed Apr 12, 2019
    Configuration menu
    Copy the full SHA
    927c7cf View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#59747 - gruberb:copy-book-toml-unstable-boo…

    …k, r=ehuss
    
    Copy book.toml unstable book generator
    
    Solves rust-lang#59554 and adds a book title to the unstable book.
    
    I assume that [copy_recursive](https://github.com/rust-lang/rust/blob/acd8dd6a50d505057a7d7ad8d0d7a4c2bd274200/src/tools/unstable-book-gen/src/main.rs#L105) will take files regardless of their type (`.md` or `.toml`).
    
    Although I had a hard time time testing it. A second pair of eyes is definitely needed.
    Centril committed Apr 12, 2019
    Configuration menu
    Copy the full SHA
    ef08a1c View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#59752 - Zoxc:dylib-fix, r=michaelwoerister

    Limit dylib symbols
    
    This makes `windows-gnu` match the behavior of `windows-msvc`. It probably doesn't make sense to export these symbols on other platforms either.
    Centril committed Apr 12, 2019
    Configuration menu
    Copy the full SHA
    968b1e5 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#59796 - oli-obk:const_arg_ice, r=eddyb

    Retire `IsNotConst` naming
    
    This naming scheme caused a lot of confusion lately (including ICEs) due to misrefactored code. Also clean up the initialization code for said flag.
    
    r? @eddyb
    
    previous discussions: rust-lang#58784 (comment) rust-lang#58403 (comment)
    Centril committed Apr 12, 2019
    Configuration menu
    Copy the full SHA
    eb29fd0 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#59804 - Zoxc:cleaner-jobserver, r=alexcrichton

    Clean up jobserver integration
    
    cc @alexcrichton
    Centril committed Apr 12, 2019
    Configuration menu
    Copy the full SHA
    85c7cc2 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#59818 - crlf0710:eliminate_libstd_fnbox, r=…

    …cramertj
    
    Eliminate `FnBox` usages from libstd.
    Centril committed Apr 12, 2019
    Configuration menu
    Copy the full SHA
    66548ae View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#59830 - ehuss:keyword-links, r=Mark-Simulacrum

    Fix links on keyword docs.
    
    - Make links relative.
    - Adjust links from old 2018-edition book.
    - Fix broken link in `let` docs.
    Centril committed Apr 12, 2019
    Configuration menu
    Copy the full SHA
    4b160ef View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#59835 - lzutao:nonzero-signed, r=Mark-Simul…

    …acrum
    
    Re-export NonZero signed variant in std
    
    Closes  rust-lang#59834 .
    Centril committed Apr 12, 2019
    Configuration menu
    Copy the full SHA
    2a24c8f View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#59852 - alexcrichton:more-vectored, r=sfackler

    std: Add `{read,write}_vectored` for more types
    
    This commit implements the `{read,write}_vectored` methods on more types
    in the standard library, namely:
    
    * `std::fs::File`
    * `std::process::ChildStd{in,out,err}`
    * `std::io::Std{in,out,err}`
    * `std::io::Std{in,out,err}Lock`
    * `std::io::Std{in,out,err}Raw`
    
    Where supported the OS implementations hook up to native support,
    otherwise it falls back to the already-defaulted implementation.
    Centril committed Apr 12, 2019
    Configuration menu
    Copy the full SHA
    23c824e View commit details
    Browse the repository at this point in the history
  16. Rollup merge of rust-lang#59855 - GuillaumeGomez:fix-attr-position-in…

    …-type-decl, r=QuietMisdreavus
    
    Fix attributes position in type declaration
    
    Fixes rust-lang#59797.
    
    r? @rust-lang/rustdoc
    Centril committed Apr 12, 2019
    Configuration menu
    Copy the full SHA
    6218a44 View commit details
    Browse the repository at this point in the history
  17. Rollup merge of rust-lang#59858 - mark-i-m:dup-matcher-bindings-3, r=…

    …Centril
    
    Make duplicate matcher bindings a hard error
    
    r? @Centril
    
    Closes rust-lang#57742
    Centril committed Apr 12, 2019
    Configuration menu
    Copy the full SHA
    1ccd4cd View commit details
    Browse the repository at this point in the history
  18. Rollup merge of rust-lang#59879 - ebarnard:patch-1, r=alexcrichton

    Use SecRandomCopyBytes instead of /dev/urandom on MacOS
    
    SecRandomCopyBytes is [available since MacOS 10.7](https://developer.apple.com/documentation/security/1399291-secrandomcopybytes?language=objc) which is the minimum supported version and which was suggested in rust-lang#58901 (comment) is the earliest version currently in use.
    
    This matches the behaviour of other platforms which have a random number generator syscall available.
    Centril committed Apr 12, 2019
    Configuration menu
    Copy the full SHA
    020ed28 View commit details
    Browse the repository at this point in the history
  19. Rollup merge of rust-lang#59899 - nnethercote:sort-enum-variants-by-s…

    …ize, r=pnkfelix
    
    In `-Zprint-type-size` output, sort enum variants by size.
    
    It's useful to see the biggest variants first.
    
    r? @pnkfelix
    Centril committed Apr 12, 2019
    Configuration menu
    Copy the full SHA
    c07ccc4 View commit details
    Browse the repository at this point in the history
  20. Rollup merge of rust-lang#59912 - RalfJung:maybe-uninit, r=Centril

    MaybeUninit: remove deprecated functions
    Centril committed Apr 12, 2019
    Configuration menu
    Copy the full SHA
    910c719 View commit details
    Browse the repository at this point in the history