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 #47678

Merged
merged 33 commits into from
Jan 23, 2018
Merged

Rollup of 14 pull requests #47678

merged 33 commits into from
Jan 23, 2018

Commits on Jan 15, 2018

  1. Check for deadlinks from the summary during book generation

    Previously, any deadlinks from a book's SUMMARY.md wouldn't
    cause any errors or warnings or similar but mdbook would simply
    create a page with blank content.
    
    This has kept bug rust-lang#47394 hidden. It should have been detected
    back in the PR when those wrongly named files got added to the
    book.
    
    PR rust-lang#47414 was one component of the solution. This change
    is a second line of defense for the unstable book and a first
    line of defense for any other book.
    
    We also update mdbook to the most recent version.
    est31 committed Jan 15, 2018
    Configuration menu
    Copy the full SHA
    38ddb44 View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2018

  1. Fixes sparc64 cabi fixes.

    Argument up to 16 bytes size is provided in registers.
    Return value up to 32 bytes size is stored in registers.
    
    Fixes: rust-lang#46679
    psumbera committed Jan 18, 2018
    Configuration menu
    Copy the full SHA
    f4bcfc5 View commit details
    Browse the repository at this point in the history
  2. Removed uneeded change.

    psumbera committed Jan 18, 2018
    Configuration menu
    Copy the full SHA
    af632bc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1203b3d View commit details
    Browse the repository at this point in the history
  4. Make liballoc_jemalloc work on CloudABI.

    The automated builds for CloudABI in dist-various-2 don't use
    --disable-jemalloc, even though my original container image did. Instead
    of setting that flag, let's go the extra mile of making jemalloc work.
    CloudABI's C library already uses jemalloc and now exposes the API
    extensions used by us.
    EdSchouten committed Jan 18, 2018
    Configuration menu
    Copy the full SHA
    66d53ca View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2018

  1. Change the --unpretty flag to -Z unpretty

    -Z unpretty no longer requires -Z unstable-options. Also, I mildly
    changed the syntax of the flag to match the other -Z flags. All uses of
    the flag take the form `unpretty=something` where something can either
    `string` or `string=string` (see the help messages of the CLI).
    mark-i-m committed Jan 19, 2018
    Configuration menu
    Copy the full SHA
    ebfa6c7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    db41f1e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    101f1e1 View commit details
    Browse the repository at this point in the history
  4. s/foo/main/

    nikomatsakis authored Jan 19, 2018
    Configuration menu
    Copy the full SHA
    2975955 View commit details
    Browse the repository at this point in the history
  5. add ERROR annotation

    nikomatsakis authored Jan 19, 2018
    Configuration menu
    Copy the full SHA
    9d629c6 View commit details
    Browse the repository at this point in the history
  6. fix line

    nikomatsakis authored Jan 19, 2018
    Configuration menu
    Copy the full SHA
    67f922b View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2018

  1. Update DW_OP_plus to DW_OP_plus_uconst

    LLVM <= 4.0 used a non-standard interpretation of `DW_OP_plus`.  In the
    DWARF standard, this adds two items on the expressions stack.  LLVM's
    behavior was more like DWARF's `DW_OP_plus_uconst` -- adding a constant
    that follows the op.  The patch series starting with [D33892] switched
    to the standard DWARF interpretation, so we need to follow.
    
    [D33892]: https://reviews.llvm.org/D33892
    cuviper committed Jan 20, 2018
    Configuration menu
    Copy the full SHA
    e2f6b28 View commit details
    Browse the repository at this point in the history
  2. Add testing coverage for assigning to immutable thread-locals.

    It is currently allowed to perform such assignments when not making use
    of NLL. NLL already does this right, but let's add a test in place to
    ensure it never regresses.
    EdSchouten committed Jan 20, 2018
    Configuration menu
    Copy the full SHA
    e47cc69 View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2018

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

Commits on Jan 22, 2018

  1. Fix spurious warning on empty proc macro crates

    While attempting to reproduce rust-lang#47086 I noticed the
    following warning:
    
    ```shell
    > rustc /dev/null --crate-type proc-macro
    warning: unused variable: `registrar`
     --> /dev/null:0:1
    ```
    
    As there are no macros to register the automatically generated registrar
    function for the crate has no body. As a result its `registrar` argument
    is unused triggering the above warning.
    
    The warning is confusing and not easily actionable by the developer. It
    could also be triggered legitimately by e.g. having all of the macros in
    a crate #[cfg]'ed out.
    
    Fix by naming the generated argument `_registrar` inside
    `mk_registrar()`. This suppresses the unused variable warning.
    etaoins committed Jan 22, 2018
    Configuration menu
    Copy the full SHA
    e1bffbd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c3fabce View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    90aef18 View commit details
    Browse the repository at this point in the history
  4. Fix quoted search

    GuillaumeGomez committed Jan 22, 2018
    Configuration menu
    Copy the full SHA
    7cc3cb2 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2018

  1. Configuration menu
    Copy the full SHA
    04a8847 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#47423 - est31:rustbook_checking, r=alexcric…

    …hton
    
    Check for deadlinks from the summary during book generation
    
    Previously, any deadlinks from a book's SUMMARY.md wouldn't
    cause any errors or warnings or similar but mdbook would simply
    create a page with blank content.
    
    This has kept bug rust-lang#47394 hidden. It should have been detected
    back in the PR when those wrongly named files got added to the
    book.
    
    PR rust-lang#47414 was one component of the solution. This change
    is a second line of defense for the unstable book and a first
    line of defense for any other book.
    
    We also update mdbook to the most recent version.
    kennytm authored Jan 23, 2018
    Configuration menu
    Copy the full SHA
    116fb72 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#47425 - EdSchouten:immutable-tls, r=nikomat…

    …sakis
    
    Properly pass down immutability info for thread-locals.
    
    For thread-locals we call into cat_rvalue_node() to create a CMT
    (Category, Mutability, Type) that always has McDeclared. This is
    incorrect for thread-locals that don't have the 'mut' keyword; we should
    use McImmutable there.
    
    Extend cat_rvalue_node() to have an additional mutability parameter. Fix
    up all the callers to make use of that function. Also extend one of the
    existing unit tests to cover this.
    
    Fixes: rust-lang#47053
    kennytm authored Jan 23, 2018
    Configuration menu
    Copy the full SHA
    0c9b3ec View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#47440 - mark-i-m:zunpretty, r=nikomatsakis

    Change the --unpretty flag to -Z unpretty
    
    First PR 😄 !
    
    -Z unpretty no longer requires -Z unstable-options.
    
    Also, I mildly changed the syntax of the flag to match the other -Z flags. All uses of the flag take the form `unpretty=something` where something can either `string` or `string=string` (see the help messages of the CLI).
    
    Fix rust-lang#47395
    
    r? @nikomatsakis EDIT: apparently rust-highfive doesn't see edits...
    kennytm authored Jan 23, 2018
    Configuration menu
    Copy the full SHA
    150f2ba View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#47541 - psumbera:master, r=eddyb

    Fixes sparc64 cabi fixes.
    
    Argument up to 16 bytes size is provided in registers.
    Return value up to 32 bytes size is stored in registers.
    
    Fixes: rust-lang#46679
    
    ---
    
    Firefox now (almost) build on sparc. Original rust issue seems to be gone. Note that I'm not rust expert and the fix was suggested in bug.
    kennytm authored Jan 23, 2018
    Configuration menu
    Copy the full SHA
    82981a7 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    658ccae View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#47554 - EdSchouten:cloudabi-jemalloc, r=nik…

    …omatsakis
    
    Make liballoc_jemalloc work on CloudABI.
    
    The automated builds for CloudABI in dist-various-2 don't use
    --disable-jemalloc, even though my original container image did. Instead
    of setting that flag, let's go the extra mile of making jemalloc work.
    CloudABI's C library already uses jemalloc and now exposes the API
    extensions used by us.
    
    This makes the CloudABI dist work out of the box.
    kennytm authored Jan 23, 2018
    Configuration menu
    Copy the full SHA
    60b987d View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#47558 - spastorino:rustc_args, r=nikomatsakis

    Add rustc-args option to test runner
    
    r? @nikomatsakis
    kennytm authored Jan 23, 2018
    Configuration menu
    Copy the full SHA
    52f8d2d View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#47610 - cuviper:captured-dwarf, r=eddyb

    LLVM5: Update DW_OP_plus to DW_OP_plus_uconst
    
    LLVM <= 4.0 used a non-standard interpretation of `DW_OP_plus`.  In the
    DWARF standard, this adds two items on the expressions stack.  LLVM's
    behavior was more like DWARF's `DW_OP_plus_uconst` -- adding a constant
    that follows the op.  The patch series starting with [D33892] switched
    to the standard DWARF interpretation, so we need to follow.
    
    [D33892]: https://reviews.llvm.org/D33892
    
    Fixes rust-lang#47464
    r? @eddyb
    kennytm authored Jan 23, 2018
    Configuration menu
    Copy the full SHA
    cb0a8bf View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#47635 - Zoxc:remove-attr, r=michaelwoerister

    Remove the IGNORED_ATTR_NAMES thread local
    kennytm committed Jan 23, 2018
    Configuration menu
    Copy the full SHA
    9d26a25 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#47655 - etaoins:fix-spurious-warning-on-emp…

    …ty-proc-macro-crate, r=alexcrichton
    
    Fix spurious warning on empty proc macro crates
    
    While attempting to reproduce rust-lang#47086 I noticed the following warning:
    
    ```shell
    > rustc /dev/null --crate-type proc-macro
    warning: unused variable: `registrar`
     --> /dev/null:0:1
    ```
    
    As there are no macros to register the automatically generated registrar function for the crate has no body. As a result its `registrar` argument is unused triggering the above warning.
    
    The warning is confusing and not easily actionable by the developer. It could also be triggered legitimately by e.g. having all of the macros in a crate #[cfg]'ed out.
    
    Fix by naming the generated argument `_registrar` inside `mk_registrar()`. This suppresses the unused variable warning.
    kennytm committed Jan 23, 2018
    Configuration menu
    Copy the full SHA
    117eb68 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#47661 - bjorn3:refactor_driver, r=michaelwo…

    …erister
    
    Inline some rustc_driver function
    kennytm committed Jan 23, 2018
    Configuration menu
    Copy the full SHA
    6dcaa0a View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#47662 - spastorino:add_test_to_nll, r=nikom…

    …atsakis
    
    Add dynamic-drop test to nll tests also
    
    r? @nikomatsakis
    
    Fixes rust-lang#47585
    kennytm committed Jan 23, 2018
    Configuration menu
    Copy the full SHA
    4cc2f96 View commit details
    Browse the repository at this point in the history
  14. Rollup merge of rust-lang#47667 - GuillaumeGomez:fix-quoted-search, r…

    …=QuietMisdreavus
    
    Fix quoted search
    
    r? @QuietMisdreavus
    kennytm committed Jan 23, 2018
    Configuration menu
    Copy the full SHA
    9735864 View commit details
    Browse the repository at this point in the history
  15. Rollup merge of rust-lang#47672 - ollie27:rustdoc_auto_traits, r=Guil…

    …laumeGomez
    
    rustdoc: Show when traits are auto traits
    kennytm committed Jan 23, 2018
    Configuration menu
    Copy the full SHA
    9707b31 View commit details
    Browse the repository at this point in the history