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

Closed
wants to merge 22 commits into from
Closed

Commits on Aug 3, 2021

  1. Explicit notification of lack of support for rust-docs component for

    Tier 2 targets
    Ali Malik committed Aug 3, 2021
    Configuration menu
    Copy the full SHA
    4ffb1ef View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2021

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

Commits on Aug 13, 2021

  1. Don't put hermit rwlocks in a box.

    Hermit rwlocks are movable.
    mkroening authored and stlankes committed Aug 13, 2021
    Configuration menu
    Copy the full SHA
    fe56e89 View commit details
    Browse the repository at this point in the history
  2. Don't put hermit condvars in a box.

    Hermit condvars are movable.
    mkroening authored and stlankes committed Aug 13, 2021
    Configuration menu
    Copy the full SHA
    f45ebe4 View commit details
    Browse the repository at this point in the history
  3. Don't put hermit mutexes in a box.

    Hermit mutexes are movable.
    mkroening authored and stlankes committed Aug 13, 2021
    Configuration menu
    Copy the full SHA
    fffa88e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bbb6cb8 View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2021

  1. Assign FIXMEs to me and remove obsolete ones

    Also fixed capitalization of documentation
    fee1-dead committed Aug 14, 2021
    Configuration menu
    Copy the full SHA
    f25d2bd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6ec1b53 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    29b73ee View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2969aec View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2021

  1. Update redox_syscall

    The currently pinned version doesn't compile with the latest rustc nightly
    bjorn3 committed Aug 15, 2021
    Configuration menu
    Copy the full SHA
    856dd71 View commit details
    Browse the repository at this point in the history
  2. Update RELEASES.md for 1.55.0

    Co-authored-by: Eric Huss <eric@huss.org>
    Co-authored-by: inquisitivecrystal <22333129+inquisitivecrystal@users.noreply.github.com>
    Co-authored-by: Mark Rousskov <mark.simulacrum@gmail.com>
    Co-authored-by: Daniel Giger <danielg3432@gmail.com>
    5 people committed Aug 15, 2021
    Configuration menu
    Copy the full SHA
    0455fe3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e62ecdc View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#87677 - amalik18:issue-2788-fix, r=pietroal…

    …bini
    
    Adding explicit notice of lack of documentation for Tier 2 Platforms
    
    Fixing: rust-lang/rustup#2788
    camsteffen committed Aug 15, 2021
    Configuration menu
    Copy the full SHA
    dc22db6 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#87967 - m-ou-se:non-fmt-panic-detect-fake-s…

    …pans, r=cjgillot
    
    Detect fake spans in non_fmt_panic lint.
    
    This addresses rust-lang#87621
    
    Some proc_macros claim that the user wrote all of the tokens it outputs, by applying a span from the input to all of the produced tokens. That can result in confusing suggestions, as in rust-lang#87621. This is a simple patch that avoids suggesting anything for `panic!("{}")` if the span of `"{}"` and `panic!(..)` are identical, which is normally not possible.
    camsteffen committed Aug 15, 2021
    Configuration menu
    Copy the full SHA
    8756a24 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#87985 - nbdd0121:asm, r=Amanieu

    Forbid `!` from being used in `asm!` output
    
    Fixes rust-lang#87802
    
    r? ```@Amanieu```
    camsteffen committed Aug 15, 2021
    Configuration menu
    Copy the full SHA
    1164f48 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#88002 - hermitcore:unbox-mutex, r=dtolnay

    Unbox mutexes, condvars and rwlocks on hermit
    
    [RustyHermit](https://github.com/hermitcore/rusty-hermit) provides now movable synchronization primitives and we are able to unbox mutexes and condvars.
    camsteffen committed Aug 15, 2021
    Configuration menu
    Copy the full SHA
    300590b View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#88030 - fee1-dead:fixme, r=oli-obk

    Assign FIXMEs to me and remove obsolete ones
    
    Also fixed capitalization of documentation
    
    We also don't need to transform predicates to be non-const since we basically ignore const predicates in non-const contexts.
    
    r? ```@oli-obk```
    camsteffen committed Aug 15, 2021
    Configuration menu
    Copy the full SHA
    0666b7c View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#88032 - hyd-dev:no-mangle-method, r=petroch…

    …enkov
    
    Fix `reachable_set` for non-function items in non-library crates
    
    I unintentionally changed `reachable_set` to ignore non-function items when `!self.any_library` in rust-lang#86492, which can lead to "undefined reference" errors in non-library (`cdylib`/`staticlib`/`bin`) crates, for example: https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=6bb2c5065a9be7e40943d0541e161b5a
    
    This PR restores the behavior of `reachable_set` for non-function items.
    
    Fixes rust-lang#88016.
    
    <details>
    <summary>The modified test will fail with this output without the `reachable_set` change</summary>
    
    ```
    ---- [codegen] codegen/external-no-mangle-statics.rs#staticlib stdout ----
    
    error in revision `staticlib`: verification with 'FileCheck' failed
    status: exit status: 1
    command: "/checkout/build/x86_64-unknown-linux-gnu/ci-llvm/bin/FileCheck" "--input-file" "/checkout/build/x86_64-unknown-linux-gnu/test/codegen/external-no-mangle-statics.staticlib/external-no-mangle-statics.ll" "/checkout/src/test/codegen/external-no-mangle-statics.rs" "--check-prefixes" "CHECK,NONMSVC,staticlib"
    stdout:
    ------------------------------------------
    
    ------------------------------------------
    stderr:
    ------------------------------------------
    /checkout/src/test/codegen/external-no-mangle-statics.rs:10:11: error: CHECK: expected string not found in input
    // CHECK: `@A` = local_unnamed_addr constant
              ^
    /checkout/build/x86_64-unknown-linux-gnu/test/codegen/external-no-mangle-statics.staticlib/external-no-mangle-statics.ll:1:1: note: scanning from here
    ; ModuleID = 'external_no_mangle_statics.b50529d3-cgu.0'
    ^
    /checkout/build/x86_64-unknown-linux-gnu/test/codegen/external-no-mangle-statics.staticlib/external-no-mangle-statics.ll:1:6: note: possible intended match here
    ; ModuleID = 'external_no_mangle_statics.b50529d3-cgu.0'
         ^
    
    Input file: /checkout/build/x86_64-unknown-linux-gnu/test/codegen/external-no-mangle-statics.staticlib/external-no-mangle-statics.ll
    Check file: /checkout/src/test/codegen/external-no-mangle-statics.rs
    
    -dump-input=help explains the following input dump.
    
    Input was:
    <<<<<<
                1: ; ModuleID = 'external_no_mangle_statics.b50529d3-cgu.0'
    check:10'0     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
    check:10'1          ?                                                   possible intended match
                2: source_filename = "external_no_mangle_statics.b50529d3-cgu.0"
    check:10'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                3: target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
    check:10'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                4: target triple = "x86_64-unknown-linux-gnu"
    check:10'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                5:
    check:10'0     ~
                6: !llvm.module.flags = !{!0, !1}
    check:10'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                .
                .
                .
    >>>>>>
    
    ------------------------------------------
    
    failures:
        [codegen] codegen/external-no-mangle-statics.rs#staticlib
    ```
    </details>
    camsteffen committed Aug 15, 2021
    Configuration menu
    Copy the full SHA
    7859dbd View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#88036 - nbdd0121:const3, r=petrochenkov

    Fix dead code warning when inline const is used in pattern
    
    Fixes rust-lang#78171
    camsteffen committed Aug 15, 2021
    Configuration menu
    Copy the full SHA
    34deae2 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#88052 - bjorn3:update_redox_syscall, r=Mark…

    …-Simulacrum
    
    Update redox_syscall
    
    The currently pinned version doesn't compile with the latest rustc nightly
    
    cc `@jackpot51`
    camsteffen committed Aug 15, 2021
    Configuration menu
    Copy the full SHA
    990d91d View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#88055 - Mark-Simulacrum:relnotes-1.55, r=Ma…

    …rk-Simulacrum
    
    Update RELEASES.md for 1.55.0
    
    Reopening rust-lang#87624 after some edits and a force-push caused GitHub to close the PR.
    camsteffen committed Aug 15, 2021
    Configuration menu
    Copy the full SHA
    50986e0 View commit details
    Browse the repository at this point in the history