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 (first batch) #56818

Merged
merged 31 commits into from
Dec 14, 2018
Merged

Commits on Dec 7, 2018

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

Commits on Dec 8, 2018

  1. rustdoc: Fix local reexports of proc macros

    Filter out `ProcMacroStub`s to avoid an ICE during cleaning.
    
    Also add proc macros to `cache().paths` so it can generate links.
    ollie27 committed Dec 8, 2018
    Configuration menu
    Copy the full SHA
    0bb075f View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2018

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

Commits on Dec 11, 2018

  1. Configuration menu
    Copy the full SHA
    771e8b8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    799cadb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1346619 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5457b19 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    510a9ff View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2403146 View commit details
    Browse the repository at this point in the history
  7. Use a newtype_index! within Symbol.

    This shrinks `Option<Symbol>` from 8 bytes to 4 bytes, which shrinks
    `Token` from 24 bytes to 16 bytes. This reduces instruction counts by up
    to 1% across a range of benchmarks.
    nnethercote committed Dec 11, 2018
    Configuration menu
    Copy the full SHA
    0f68749 View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2018

  1. Configuration menu
    Copy the full SHA
    cd7e891 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8b67eb8 View commit details
    Browse the repository at this point in the history
  3. x86: Add the adx target feature to whitelist

    Requested in rust-lang/stdarch#322 this is hopefully the first
    step!
    alexcrichton committed Dec 12, 2018
    Configuration menu
    Copy the full SHA
    78f20de View commit details
    Browse the repository at this point in the history
  4. Disable btree pretty-printers on older gdbs

    gdb versions before 8.1 have a bug that prevents the BTreeSet and
    BTreeMap pretty-printers from working.  This patch disables the test
    on those versions, and also disables the pretty-printers there as
    well.
    
    Closes rust-lang#56730
    tromey committed Dec 12, 2018
    Configuration menu
    Copy the full SHA
    4007adf View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2018

  1. Split on words instead

    GuillaumeGomez committed Dec 13, 2018
    Configuration menu
    Copy the full SHA
    987bf2e View commit details
    Browse the repository at this point in the history
  2. rustc: Add an unstable simd_select_bitmask intrinsic

    This is going to be required for binding a number of AVX-512 intrinsics
    in the `stdsimd` repository, and this intrinsic is the same as
    `simd_select` except that it takes a bitmask as the first argument
    instead of a SIMD vector. This bitmask is then transmuted into a `<NN x
    i8>` argument, depending on how many bits it is.
    
    cc rust-lang/stdarch#310
    alexcrichton committed Dec 13, 2018
    Configuration menu
    Copy the full SHA
    5087aef View commit details
    Browse the repository at this point in the history
  3. Update panic message to be clearer about env-vars

    Esteban Kuber requested that the panic message make it clear
    that `RUST_BACKTRACE=1` is an environment variable.  This change
    makes that clear.  Wording provided in part by David Tolnay.
    kinnison committed Dec 13, 2018
    Configuration menu
    Copy the full SHA
    6057147 View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2018

  1. Rollup merge of rust-lang#56609 - michaelwoerister:unconditional-targ…

    …et-cpu-attr, r=alexcrichton
    
    Unconditionally emit the target-cpu LLVM attribute.
    
    This PR makes `rustc` always emit the `target-cpu` LLVM attribute for functions. The goal is to allow for cross-language inlining of functions defined in `libstd`. So far `libstd` functions were the only function without a `target-cpu` attribute, so in whole-crate-graph cross-lang LTO scenarios they were not eligible for inlining into foreign code.
    
    r? @alexcrichton
    kennytm authored Dec 14, 2018
    Configuration menu
    Copy the full SHA
    4f0f110 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#56637 - ollie27:rustdoc_proc_macro_local_re…

    …export, r=QuietMisdreavus
    
    rustdoc: Fix local reexports of proc macros
    
    Filter out `ProcMacroStub`s to avoid an ICE during cleaning.
    
    Also add proc macros to `cache().paths` so it can generate links.
    
    r? @QuietMisdreavus
    kennytm authored Dec 14, 2018
    Configuration menu
    Copy the full SHA
    795f18e View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#56658 - Xanewok:non-panicking-file-parser, …

    …r=petrochenkov
    
    Add non-panicking `maybe_new_parser_from_file` variant
    
    Add (seemingly?) missing `maybe_new_parser_from_file` constructor variant.
    
    Disclaimer: I'm not certain this is the correct approach - just found out we don't have this when working on a Rustfmt PR to catch/prevent more Rust parser panics: rust-lang/rustfmt#3240 and tried to make it work somehow.
    kennytm authored Dec 14, 2018
    Configuration menu
    Copy the full SHA
    35fe8c9 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#56695 - varkor:let-exhaustive-range, r=este…

    …bank
    
    Fix irrefutable matches on integer ranges
    
    Fixes rust-lang#56659.
    kennytm authored Dec 14, 2018
    Configuration menu
    Copy the full SHA
    53a2de2 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#56699 - nnethercote:SymbolIndex, r=oli-obk

    Use a `newtype_index!` within `Symbol`.
    
    This shrinks `Option<Symbol>` from 8 bytes to 4 bytes, which shrinks
    `Token` from 24 bytes to 16 bytes. This reduces instruction counts by up
    to 1% across a range of benchmarks.
    
    r? @oli-obk
    kennytm authored Dec 14, 2018
    Configuration menu
    Copy the full SHA
    dadf7fc View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#56702 - wesleywiser:calc_total_time_stats, …

    …r=michaelwoerister
    
    [self-profiler] Add column for percent of total time
    
    Example output:
    
    ```
    Self profiling results:
    
    | Phase            | Time (ms)      | Time (%) | Queries        | Hits (%)
    | ---------------- | -------------- | -------- | -------------- | --------
    | Parsing          | 3              | 0.52     |                |
    | Expansion        | 64             | 11.27    |                |
    | TypeChecking     | 13             | 2.36     | 35208          | 90.77
    | BorrowChecking   | 0              | 0.10     | 68             | 50.00
    | Codegen          | 22             | 3.82     | 7362           | 75.12
    | Linking          | 252            | 43.81    | 458            | 68.56
    | Other            | 219            | 38.12    | 47372          | 56.84
    
    Optimization level: No
    Incremental: off
    
    ```
    
    cc @michaelwoerister
    kennytm authored Dec 14, 2018
    Configuration menu
    Copy the full SHA
    3e17988 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#56708 - oli-obk:stability_internal_const_fn…

    …, r=alexcrichton
    
    Remove some unnecessary feature gates
    
    fixes rust-lang#56585
    
    cc @jethrogb
    kennytm authored Dec 14, 2018
    Configuration menu
    Copy the full SHA
    27c3631 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#56709 - GuillaumeGomez:reduce-search-index,…

    … r=QuietMisdreavus
    
    Remove unneeded extra chars to reduce search-index size
    
    Before:
    
    ```
    2013782 Dec 11 10:16 build/x86_64-unknown-linux-gnu/doc/search-index.js
    ```
    
    After:
    
    ```
    1736597 Dec 11 10:50 build/x86_64-unknown-linux-gnu/doc/search-index.js
    ```
    
    No changes in the output of the search.
    
    r? @QuietMisdreavus
    kennytm authored Dec 14, 2018
    Configuration menu
    Copy the full SHA
    facad1d View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#56744 - ljedrz:unbox_the_children, r=matthe…

    …wjasper
    
    specialize: remove Boxes used by Children::insert
    kennytm committed Dec 14, 2018
    Configuration menu
    Copy the full SHA
    7ec1faa View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#56748 - kinnison:kinnison/fix-56734, r=dtolnay

    Update panic message to be clearer about env-vars
    
    Esteban Kuber requested that the panic message make it clear
    that `RUST_BACKTRACE=1` is an environment variable.  This change
    makes that clear.
    
    I understand that this may simply be closed if the concept isn't accepted, and I'd be fine with that :-)
    
    Fixes rust-lang#56734
    kennytm committed Dec 14, 2018
    Configuration menu
    Copy the full SHA
    123b72a View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#56749 - alexcrichton:adx, r=gnzlbg

    x86: Add the `adx` target feature to whitelist
    
    Requested in rust-lang/stdarch#322 this is hopefully the first
    step!
    kennytm committed Dec 14, 2018
    Configuration menu
    Copy the full SHA
    adb674c View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#56756 - tromey:Bug-56730-btree-pretty-print…

    …er, r=alexcrichton
    
    Disable btree pretty-printers on older gdbs
    
    gdb versions before 8.1 have a bug that prevents the BTreeSet and
    BTreeMap pretty-printers from working.  This patch disables the test
    on those versions, and also disables the pretty-printers there as
    well.
    
    Closes rust-lang#56730
    kennytm committed Dec 14, 2018
    Configuration menu
    Copy the full SHA
    4a0ee22 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#56789 - alexcrichton:simd_select_bitmask, r…

    …=rkruppe
    
    rustc: Add an unstable `simd_select_bitmask` intrinsic
    
    This is going to be required for binding a number of AVX-512 intrinsics
    in the `stdsimd` repository, and this intrinsic is the same as
    `simd_select` except that it takes a bitmask as the first argument
    instead of a SIMD vector. This bitmask is then transmuted into a `<NN x
    i8>` argument, depending on how many bits it is.
    
    cc rust-lang/stdarch#310
    kennytm committed Dec 14, 2018
    Configuration menu
    Copy the full SHA
    3397b79 View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#56562 - pnkfelix:issue-55465-update-libc-ve…

    …rsion, r=alexcrichton
    
    Update libc version required by rustc
    
    This is meant to be an easy-to-backport fix for rust-lang#55465
    kennytm committed Dec 14, 2018
    Configuration menu
    Copy the full SHA
    e065de2 View commit details
    Browse the repository at this point in the history