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 7 pull requests #66990

Closed
wants to merge 15 commits into from
Closed

Commits on Nov 30, 2019

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

Commits on Dec 2, 2019

  1. Configuration menu
    Copy the full SHA
    ff5fcac View commit details
    Browse the repository at this point in the history
  2. Update the minimum external LLVM to 7

    LLVM 7 is over a year old, which should be plenty for compatibility. The
    last LLVM 6 holdout was llvm-emscripten, which went away in rust-lang#65501.
    
    I've also included a fix for LLVM 8 lacking `MemorySanitizerOptions`,
    which was broken by rust-lang#66522.
    cuviper committed Dec 2, 2019
    Configuration menu
    Copy the full SHA
    2304c25 View commit details
    Browse the repository at this point in the history

Commits on Dec 3, 2019

  1. Configuration menu
    Copy the full SHA
    7693bb9 View commit details
    Browse the repository at this point in the history
  2. Change linker for x86_64-fortanix-unknown-sgx to rust-lld

    For SGX, the relocation using the relocation table is done by
    the code in rust/src/libstd/sys/sgx/abi/reloc.rs and this code
    should not require relocation. Setting RelaxELFRelocations flag
    if allows this to happen, hence adding a Target Option for it.
    parthsane committed Dec 3, 2019
    Configuration menu
    Copy the full SHA
    54b2060 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0be80f2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    26a1ba8 View commit details
    Browse the repository at this point in the history
  5. Update the wasi crate for wasm32-wasi

    This commit updates the `wasi` crate used by the standard library which
    is used to implement most of the functionality of libstd on the
    `wasm32-wasi` target. This update comes with a brand new crate structure
    in the `wasi` crate which caused quite a few changes for the wasi target
    here, but it also comes with a significant change to where the
    functionality is coming from.
    
    The WASI specification is organized into "snapshots" and a new snapshot
    happened recently, so the WASI APIs themselves have changed since the
    previous revision. This had only minor impact on the public facing
    surface area of libstd, only changing on `u32` to a `u64` in an unstable
    API. The actual source for all of these types and such, however, is now
    coming from the `wasi_preview_snapshot1` module instead of the
    `wasi_unstable` module like before. This means that any implementors
    generating binaries will need to ensure that their embedding environment
    handles the `wasi_preview_snapshot1` module.
    alexcrichton committed Dec 3, 2019
    Configuration menu
    Copy the full SHA
    f3fb1c5 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#66750 - alexcrichton:update-wasi, r=sfackler

    Update the `wasi` crate for `wasm32-wasi`
    
    This commit updates the `wasi` crate used by the standard library which
    is used to implement most of the functionality of libstd on the
    `wasm32-wasi` target. This update comes with a brand new crate structure
    in the `wasi` crate which caused quite a few changes for the wasi target
    here, but it also comes with a significant change to where the
    functionality is coming from.
    
    The WASI specification is organized into "snapshots" and a new snapshot
    happened recently, so the WASI APIs themselves have changed since the
    previous revision. This had only minor impact on the public facing
    surface area of libstd, only changing on `u32` to a `u64` in an unstable
    API. The actual source for all of these types and such, however, is now
    coming from the `wasi_preview_snapshot1` module instead of the
    `wasi_unstable` module like before. This means that any implementors
    generating binaries will need to ensure that their embedding environment
    handles the `wasi_preview_snapshot1` module.
    Centril committed Dec 3, 2019
    Configuration menu
    Copy the full SHA
    9862193 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#66903 - Centril:parse-enum-variant, r=estebank

    parse_enum_item -> parse_enum_variant
    
    r? @estebank
    Centril committed Dec 3, 2019
    Configuration menu
    Copy the full SHA
    1a9c8e8 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#66951 - RalfJung:miri-machine-stop, r=oli-obk

    miri: add throw_machine_stop macro
    
    r? @oli-obk
    This helps Miri: rust-lang/miri#1093
    Centril committed Dec 3, 2019
    Configuration menu
    Copy the full SHA
    08e7fac View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#66957 - parthsane:pvs/ftx_lld_linker, r=ale…

    …xcrichton
    
    Change Linker for x86_64-fortanix-unknown-sgx target to rust-lld
    
    Changed linker for `x86_64-fortanix-unknown-sgx` target to `rust-lld`
    This change needed the RelaxELFRelocations flag to be set for it to work correctly
    
    r? @jethrogb
    Centril committed Dec 3, 2019
    Configuration menu
    Copy the full SHA
    01b6be0 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#66960 - wesleywiser:fix_66787_take2, r=oli-…

    …obk,RalfJung
    
    [const-prop] Fix ICE calculating enum discriminant
    
    Fixes rust-lang#66787
    
    Different approach than rust-lang#66857
    
    r? @oli-obk
    cc @RalfJung @eddyb
    Centril committed Dec 3, 2019
    Configuration menu
    Copy the full SHA
    2c671d5 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#66973 - cuviper:min-llvm7, r=alexcrichton

    Update the minimum external LLVM to 7
    
    LLVM 7 is over a year old, which should be plenty for compatibility. The
    last LLVM 6 holdout was llvm-emscripten, which went away in rust-lang#65501.
    
    I've also included a fix for LLVM 8 lacking `MemorySanitizerOptions`,
    which was broken by rust-lang#66522.
    Centril committed Dec 3, 2019
    Configuration menu
    Copy the full SHA
    4ddccd7 View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#66979 - reese:E0631-long-error, r=Guillaume…

    …Gomez
    
    Add long error for E0631 and update ui tests.
    
    This PR adds a long error for `E0631`, which covers errors where closure argument types are mismatched. It also updates UI tests where this error is applicable.
    
    Part of rust-lang#61137
    Centril committed Dec 3, 2019
    Configuration menu
    Copy the full SHA
    9dd829f View commit details
    Browse the repository at this point in the history