-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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 #66997
Rollup of 7 pull requests #66997
Commits on Nov 30, 2019
-
Configuration menu - View commit details
-
Copy full SHA for cb08677 - Browse repository at this point
Copy the full SHA cb08677View commit details
Commits on Dec 2, 2019
-
Configuration menu - View commit details
-
Copy full SHA for ff5fcac - Browse repository at this point
Copy the full SHA ff5fcacView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 2304c25 - Browse repository at this point
Copy the full SHA 2304c25View commit details
Commits on Dec 3, 2019
-
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.
Configuration menu - View commit details
-
Copy full SHA for 54b2060 - Browse repository at this point
Copy the full SHA 54b2060View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0be80f2 - Browse repository at this point
Copy the full SHA 0be80f2View commit details -
Update the
wasi
crate forwasm32-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.
Configuration menu - View commit details
-
Copy full SHA for f3fb1c5 - Browse repository at this point
Copy the full SHA f3fb1c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ea1833 - Browse repository at this point
Copy the full SHA 2ea1833View commit details -
Configuration menu - View commit details
-
Copy full SHA for b7cd58c - Browse repository at this point
Copy the full SHA b7cd58cView commit details -
Configuration menu - View commit details
-
Copy full SHA for c761ec1 - Browse repository at this point
Copy the full SHA c761ec1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 984c74a - Browse repository at this point
Copy the full SHA 984c74aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4351698 - Browse repository at this point
Copy the full SHA 4351698View commit details -
Configuration menu - View commit details
-
Copy full SHA for 433e546 - Browse repository at this point
Copy the full SHA 433e546View commit details -
This commit breaks early-lint registration, which will be fixed in the next commit. This movement will allow essentially all crates in the compiler tree to declare lints (though not lint passes).
Configuration menu - View commit details
-
Copy full SHA for 526ee51 - Browse repository at this point
Copy the full SHA 526ee51View commit details -
Configuration menu - View commit details
-
Copy full SHA for f03d8f3 - Browse repository at this point
Copy the full SHA f03d8f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 285144a - Browse repository at this point
Copy the full SHA 285144aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 72c67be - Browse repository at this point
Copy the full SHA 72c67beView commit details -
Configuration menu - View commit details
-
Copy full SHA for f2a8aed - Browse repository at this point
Copy the full SHA f2a8aedView commit details -
Configuration menu - View commit details
-
Copy full SHA for e810b7e - Browse repository at this point
Copy the full SHA e810b7eView commit details -
Duplicate CrateConfig into Session
Since it's just a type alias this isn't too difficult and once Session is moved back we can make this be the canonical location.
Configuration menu - View commit details
-
Copy full SHA for 2731075 - Browse repository at this point
Copy the full SHA 2731075View commit details -
Configuration menu - View commit details
-
Copy full SHA for 817d1ae - Browse repository at this point
Copy the full SHA 817d1aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 52d4d47 - Browse repository at this point
Copy the full SHA 52d4d47View commit details -
Configuration menu - View commit details
-
Copy full SHA for cc2c33a - Browse repository at this point
Copy the full SHA cc2c33aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 42c4ae0 - Browse repository at this point
Copy the full SHA 42c4ae0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 68fb218 - Browse repository at this point
Copy the full SHA 68fb218View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 1b83dcf - Browse repository at this point
Copy the full SHA 1b83dcfView commit details -
Rollup merge of rust-lang#66878 - Mark-Simulacrum:sess-decouple, r=Ce…
…ntril Move Sessions into (new) librustc_session This PR moves `ParseSess` and `Session` from their current locations into a new crate, `librustc_session`. There are several intents behind this change. librustc is a very large crate, and we want to split it up over time -- this movement removes the sizeable session module from it. It also helps allow for future movement of things not coupled to TyCtxt but coupled to Session out of the crate. This movement allows allows for a future follow-up PR which unifies Session and ParseSess, allowing for a single source of truth for APIs interested in global options throughout the compiler; the ParseSess is already created directly as a member of Session in the current compiler (i.e., we do not first construct a ParseSess and then move it into Session later in the compilation). This PR intentionally avoids changing numerous imports throughout the tree to new locations of the moved types; this is needless noise and can be done as needed. In the process of moving the sessions back, the lint system received an update as well -- notably, early buffered lints are no longer ad-hoc declared as enum pairs and later associated with proper lint declarations. They are still separately handled (buffered), it is a little unclear whether this is truly necessary, but regardless is left for future PRs. Many of the types moved back are sort of ad-hoc placed into the same crate (librustc_session) instead of creating other crates; it's unclear whether this is actually a good thing, but it seemed better than creating numerous tiny crates which served no purpose on their own.
Configuration menu - View commit details
-
Copy full SHA for b6602d2 - Browse repository at this point
Copy the full SHA b6602d2View commit details -
Rollup merge of rust-lang#66903 - Centril:parse-enum-variant, r=estebank
parse_enum_item -> parse_enum_variant r? @estebank
Configuration menu - View commit details
-
Copy full SHA for d4b6235 - Browse repository at this point
Copy the full SHA d4b6235View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 71d1286 - Browse repository at this point
Copy the full SHA 71d1286View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 69f1323 - Browse repository at this point
Copy the full SHA 69f1323View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for ded9885 - Browse repository at this point
Copy the full SHA ded9885View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 8dcb532 - Browse repository at this point
Copy the full SHA 8dcb532View commit details