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 10 pull requests #73536

Closed
wants to merge 26 commits into from

Commits on May 26, 2020

  1. Properly encode AnonConst into crate metadata

    Fixes rust-lang#68104
    
    Previous, we were encoding AnonConst as a regular Const, causing us to
    treat them differently after being deserialized in another compilation
    session.
    Aaron1011 committed May 26, 2020
    Configuration menu
    Copy the full SHA
    ebe5a91 View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2020

  1. Add a disabled builder for riscv64 emulated tests

    This will run all tests for `riscv64gc-unknown-linux-gnu` in a QEMU
    instance. This is based upon the armhf QEMU test image.
    tblah committed Jun 9, 2020
    Configuration menu
    Copy the full SHA
    a008a55 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    253112d View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2020

  1. tools: remote-test-client: fix typo

    Thanks to jfrimmel for pointing this out
    
    Co-authored-by: J. Frimmel <31166235+jfrimmel@users.noreply.github.com>
    tblah and jfrimmel committed Jun 10, 2020
    Configuration menu
    Copy the full SHA
    086eaf8 View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2020

  1. ci: allow gating gha on everything but macOS

    In our GitHub Actions setup macOS is too unreliable to gate on it, but
    the other builders work fine. This commit splits the macOS builders into
    a separate job (called auto-fallible), allowing us to gate on the auto
    job without failing due to macOS spurious failures.
    pietroalbini committed Jun 15, 2020
    Configuration menu
    Copy the full SHA
    8bc3122 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2ea3864 View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2020

  1. Configuration menu
    Copy the full SHA
    6f738a0 View commit details
    Browse the repository at this point in the history
  2. Update cargo

    ehuss committed Jun 16, 2020
    Configuration menu
    Copy the full SHA
    8f5ff7b View commit details
    Browse the repository at this point in the history
  3. Update CFGuard syntax

    ajpaverd committed Jun 16, 2020
    Configuration menu
    Copy the full SHA
    83e6c0e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1b92d59 View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2020

  1. ci: disable alt build during try builds

    The build is not actually needed often, and it can be added back on a
    case-by-case basis if a specific PR needs access to it.
    pietroalbini committed Jun 17, 2020
    Configuration menu
    Copy the full SHA
    afde860 View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2020

  1. Prevent attacker from manipulating FPU tag word used in SGX enclave

    Insufficient sanitization of the x87 FPU tag word in the trusted enclave runtime allowed unprivileged adversaries in the containing host application to induce incoherent or unexpected results for ABI-compliant compiled enclave application code that uses the x87 FPU.
    
    Vulnerability was disclosed to us by Fritz Alder, Jo Van Bulck, David Oswald and Frank Piessens
    raoulstrackx committed Jun 18, 2020
    Configuration menu
    Copy the full SHA
    daedb79 View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2020

  1. Configuration menu
    Copy the full SHA
    c9c434d View commit details
    Browse the repository at this point in the history
  2. Fixed missing mut

    Lucretiel committed Jun 19, 2020
    Configuration menu
    Copy the full SHA
    e93362b View commit details
    Browse the repository at this point in the history
  3. Remove old commented code

    Lucretiel committed Jun 19, 2020
    Configuration menu
    Copy the full SHA
    0094f44 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    33b304c View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2020

  1. Rollup merge of rust-lang#72600 - Aaron1011:fix/anon-const-encoding, …

    …r=varkor
    
    Properly encode AnonConst into crate metadata
    
    Fixes rust-lang#68104
    
    Previous, we were encoding AnonConst as a regular Const, causing us to
    treat them differently after being deserialized in another compilation
    session.
    Manishearth committed Jun 20, 2020
    Configuration menu
    Copy the full SHA
    5e106b9 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#73171 - tblah:riscv-qemu-test, r=pietroalbini

    RISC-V Emulated Testing
    
    Adds a disabled docker image on which to run RISC-V tests. Based on the armhf image.
    
    Test using
    ```
    ./src/ci/docker/run.sh riscv64gc-linux
    ```
    
    cc: @msizanoen1
    Manishearth committed Jun 20, 2020
    Configuration menu
    Copy the full SHA
    2cd2704 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#73378 - matthewjasper:arena-not-special, r=…

    …oli-obk
    
    Remove use of specialization from librustc_arena
    
    This reworks the macro so that specialization, `transmute` and `#[marker]` are not used.
    
    r? @oli-obk
    Manishearth committed Jun 20, 2020
    Configuration menu
    Copy the full SHA
    671312c View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#73404 - ajpaverd:cfguard_syntax, r=Mark-Sim…

    …ulacrum
    
    Update CFGuard syntax
    
    Update the naming and syntax of the control-flow-guard option, as discussed in rust-lang#68793.
    
    r? @Mark-Simulacrum
    Manishearth committed Jun 20, 2020
    Configuration menu
    Copy the full SHA
    4e1bcfa View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#73411 - ehuss:bump-stage0, r=Mark-Simulacrum

    Update bootstrap to rustc 1.45.0-beta.2 (1dc0f6d 2020-06-15)
    
    Pulls in changes from rust-lang#73326.
    
    Closes rust-lang#73286
    Manishearth committed Jun 20, 2020
    Configuration menu
    Copy the full SHA
    ccef1f5 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#73415 - ehuss:update-cargo, r=ehuss

    Update cargo
    
    3 commits in 79c769c3d7b4c2cf6a93781575b7f592ef974255..089cbb80b73ba242efdcf5430e89f63fa3b5328d
    2020-06-11 22:13:37 +0000 to 2020-06-15 14:38:34 +0000
    - Support linker with -Zdoctest-xcompile. (rust-lang/cargo#8359)
    - Fix doctests not running with --target=HOST. (rust-lang/cargo#8358)
    - Allow passing a registry index url directly to `cargo install` (rust-lang/cargo#8344)
    Manishearth committed Jun 20, 2020
    Configuration menu
    Copy the full SHA
    54db398 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#73443 - pietroalbini:gha-auto-fallible, r=M…

    …ark-Simulacrum
    
    ci: allow gating GHA on everything but macOS
    
    In our GitHub Actions setup macOS is too unreliable to gate on it, but the other builders work fine. This commit splits the macOS builders into a separate job (called `auto-fallible`), allowing us to gate on the auto job without failing due to macOS spurious failures.
    
    cc rust-lang/rust-central-station#848
    r? @Mark-Simulacrum
    Manishearth committed Jun 20, 2020
    Configuration menu
    Copy the full SHA
    c2ba2e4 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#73444 - pietroalbini:ci-remove-try-alt, r=M…

    …ark-Simulacrum
    
    ci: disable alt build during try builds
    
    The alt build is not actually needed often, and it can be added back on a case-by-case basis if a specific PR needs access to it.
    
    This will free up a builder.
    
    r? @Mark-Simulacrum
    Manishearth committed Jun 20, 2020
    Configuration menu
    Copy the full SHA
    3577530 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#73471 - raoulstrackx:raoul/fpu_tag_word, r=…

    …jethrogb
    
    Prevent attacker from manipulating FPU tag word used in SGX enclave
    
    Insufficient sanitization of the x87 FPU tag word in the trusted enclave runtime allowed unprivileged adversaries in the containing host application to induce incoherent or unexpected results for ABI-compliant compiled enclave application code that uses the x87 FPU.
    
    Vulnerability was disclosed to us by Fritz Alder, Jo Van Bulck, David Oswald and Frank Piessens
    
    cc: @jethrogb
    Manishearth committed Jun 20, 2020
    Configuration menu
    Copy the full SHA
    d90b22a View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#73495 - Lucretiel:wasi-io-impls, r=sfackler

    Converted all platform-specific stdin/stdout/stderr implementations to use io:: traits
    
    Currently, some of the platform-specific standard streams (`src/libstd/sys/*/stdio.rs`) manually implement parts of the `io::Write` interface directly as methods on the struct, rather than by actually implementing the trait. There doesn't seem to be any reason for this, other than an unused advantage of `fn write(&self, ...)` instead of `fn write(&mut self, ...)`.
    
    Unfortunately, this means that those implementations don't have the default-implemented io methods, like `read_exact` and `write_all`. This caused rust-lang#72705, which adds forwarding methods to the user-facing standard stream implementations, to fail to compile on those platforms.
    
    This change converts *all* such standard stream structs to use the standard library traits. This change should not cause any breakages, because the changed types are not publicly exported, and in fact are only ever used in `src/libstd/io/stdio.rs`.
    Manishearth committed Jun 20, 2020
    Configuration menu
    Copy the full SHA
    b95fcc4 View commit details
    Browse the repository at this point in the history