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 9 pull requests #66143

Merged
merged 34 commits into from
Nov 6, 2019
Merged

Rollup of 9 pull requests #66143

merged 34 commits into from
Nov 6, 2019

Commits on Oct 30, 2019

  1. Configuration menu
    Copy the full SHA
    c17f89d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    49f9626 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2019

  1. Rename LocalInternedString as SymbolStr.

    It makes the relationship with `Symbol` clearer. The `Str` suffix
    matches the existing `Symbol::as_str()` method nicely, and is also
    consistent with it being a wrapper of `&str`.
    nnethercote committed Nov 1, 2019
    Configuration menu
    Copy the full SHA
    1b154a3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2f7d7c2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e6d541a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9cf59b5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5bc7084 View commit details
    Browse the repository at this point in the history
  6. Simplify various Symbol use points.

    Including removing a bunch of unnecessary `.as_str()` calls, and a bunch
    of unnecessary sigils.
    nnethercote committed Nov 1, 2019
    Configuration menu
    Copy the full SHA
    b9cef69 View commit details
    Browse the repository at this point in the history
  7. Remove the AsRef impl for SymbolStr.

    Because it's highly magical, which goes against the goal of keeping
    `SymbolStr` simple. Plus it's only used in a handful of places that
    only require minor changes.
    nnethercote committed Nov 1, 2019
    Configuration menu
    Copy the full SHA
    d0db290 View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2019

  1. Configuration menu
    Copy the full SHA
    0825b35 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    72767a8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e0c45f7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    649a524 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d6f722d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6e350bd View commit details
    Browse the repository at this point in the history
  7. Configure LLVM module PIC level

    As of LLVM 9, this is required for 32-bit PowerPC to properly generate
    PLT references. Previously, only BigPIC was supported; now LLVM supports
    both BigPIC and SmallPIC, and there is no default value provided.
    smaeul committed Nov 3, 2019
    Configuration menu
    Copy the full SHA
    1943079 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2019

  1. Configuration menu
    Copy the full SHA
    ecd2673 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e8b8d2a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    31735b0 View commit details
    Browse the repository at this point in the history
  4. bump smallvec to 1.0

    RalfJung committed Nov 4, 2019
    Configuration menu
    Copy the full SHA
    90b8d34 View commit details
    Browse the repository at this point in the history
  5. Use KERN_ARND syscall for random numbers on NetBSD, same as FreeBSD.

    This system call is present on all supported NetBSD versions and
    provides an endless stream of non-blocking random data from the
    kernel's ChaCha20-based CSPRNG. It doesn't require a file descriptor
    to be opened.
    
    The system call is documented here (under kern.arandom):
    https://netbsd.gw.com/cgi-bin/man-cgi?sysctl+7+NetBSD-7.0
    
    And defined here:
    https://nxr.netbsd.org/xref/src/sys/sys/sysctl.h#273
    
    The semantics are the same as FreeBSD so reading 256 bytes per call
    is fine.
    
    Similar change for getrandom crate: rust-random/getrandom#115
    alarixnia committed Nov 4, 2019
    Configuration menu
    Copy the full SHA
    23d2211 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b4f92ea View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2019

  1. Add target thumbv7neon-unknown-linux-musleabihf

    This is a copy of thumbv7neon-unknown-linux-gnueabihf with musl changes
    merged from armv7-unknown-linux-musleabihf.
    smaeul committed Nov 5, 2019
    Configuration menu
    Copy the full SHA
    d01ebbb View commit details
    Browse the repository at this point in the history
  2. Update the bundled wasi-libc repository

    This updates the libc that the `wasm32-wasi` target links against to the
    latest revision, mostly just bringing in minor bug fixes and minor wasm
    size improvements.
    alexcrichton committed Nov 5, 2019
    Configuration menu
    Copy the full SHA
    73df5c5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ad550b8 View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2019

  1. Rollup merge of rust-lang#65776 - nnethercote:rename-LocalInternedStr…

    …ing-and-more, r=estebank
    
    Rename `LocalInternedString` and more
    
    This PR renames `LocalInternedString` as `SymbolStr`, removes an unnecessary `impl` from it, improves comments, and cleans up some `SymbolStr` uses.
    
    r? @estebank
    Centril committed Nov 6, 2019
    Configuration menu
    Copy the full SHA
    a0b4b4d View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#65973 - eddyb:caller-location-panic, r=petr…

    …ochenkov
    
    caller_location: point to macro invocation sites, like file!/line!, and use in core::panic!.
    
    The main change here is to `core::panic!`, trying to fix this remaining regression: rust-lang#65927 (comment)
    
    However, in order for `caller_location` to be usable from macros the same way `file!()`/`line!()` are, it needs to have the same behavior (of extracting the macro invocation site `Span` and using that).
    
    Arguably we would've had to do this at some point anyway, if we want to use `#[track_caller]` to replace the `file!()`/`line!()` uses from macros, but I'm not sure the RFC mentions this at all.
    
    r? @petrochenkov cc @anp @nnethercote
    Centril committed Nov 6, 2019
    Configuration menu
    Copy the full SHA
    24af0c9 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#66015 - popzxc:refactor-librustc_parser, r=…

    …matklad
    
    librustc_lexer: Refactor the module
    
    This PR introduces a refactoring of the `librustc_lexer` in order to improve readability.
    
    All the changes performed are only cosmetic and do not introduce any changes the lexer logic or performance.
    
    Newly introduced modules `literal`, `token` and `utils` are just copy-pasted from the `lib.rs` and do not contain even cosmetic changes (I decided to do so so it'll be easier to review changes looking only on diff).
    
    r? @petrochenkov
    
    cc @Centril @matklad
    Centril committed Nov 6, 2019
    Configuration menu
    Copy the full SHA
    81550a0 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#66062 - smaeul:patch/pic-level, r=estebank

    Configure LLVM module PIC level
    
    As of LLVM 9, this is required for 32-bit PowerPC to properly generate
    PLT references. Previously, only BigPIC was supported; now LLVM supports
    both BigPIC and SmallPIC, and there is no default value provided.
    Centril committed Nov 6, 2019
    Configuration menu
    Copy the full SHA
    98cbe17 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#66086 - RalfJung:smallvec, r=nagisa

    bump smallvec to 1.0
    
    This includes servo/rust-smallvec#162, fixing an unsoundness in smallvec.
    
    See servo/rust-smallvec#175 for the 1.0 release announcement.
    
    Cc @mbrubeck @emilio
    Centril committed Nov 6, 2019
    Configuration menu
    Copy the full SHA
    167b8fe View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#66092 - niacat:master, r=nagisa

    Use KERN_ARND syscall for random numbers on NetBSD, same as FreeBSD.
    
    This system call is present on all supported NetBSD versions and provides an endless stream of non-blocking random data from the kernel's ChaCha20-based CSPRNG. It doesn't require a file like `/dev/urandom` to be opened.
    
    The system call is documented here (under kern.arandom):
    https://netbsd.gw.com/cgi-bin/man-cgi?sysctl+7+NetBSD-7.0
    
    And defined here:
    https://nxr.netbsd.org/xref/src/sys/sys/sysctl.h#273
    
    The semantics are the same as FreeBSD so reading 256 bytes per call is fine.
    
    Similar change for getrandom crate: rust-random/getrandom#115
    Centril committed Nov 6, 2019
    Configuration menu
    Copy the full SHA
    828a3ee View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#66103 - smaeul:patch/thumb-musl, r=nagisa

    Add target thumbv7neon-unknown-linux-musleabihf
    
    This is a copy of thumbv7neon-unknown-linux-gnueabihf with musl changes
    merged from armv7-unknown-linux-musleabihf. This appears to have been
    missed when adding the other ARMv7-A thumb targets.
    Centril committed Nov 6, 2019
    Configuration menu
    Copy the full SHA
    40558c3 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#66133 - alexcrichton:update-wasi-libc, r=Ma…

    …rk-Simulacrum
    
    Update the bundled `wasi-libc` repository
    
    This updates the libc that the `wasm32-wasi` target links against to the
    latest revision, mostly just bringing in minor bug fixes and minor wasm
    size improvements.
    Centril committed Nov 6, 2019
    Configuration menu
    Copy the full SHA
    7f7218f View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#66139 - euclio:pluralize, r=nagisa

    use American spelling for `pluralize!`
    Centril committed Nov 6, 2019
    Configuration menu
    Copy the full SHA
    4f9651b View commit details
    Browse the repository at this point in the history