-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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 5 pull requests #70141
Rollup of 5 pull requests #70141
Commits on Mar 11, 2020
-
Compute the correct layout for variants of uninhabited enums and read…
…d a long lost assertion This reverts part of commit 9712fa4.
Configuration menu - View commit details
-
Copy full SHA for cdc7304 - Browse repository at this point
Copy the full SHA cdc7304View commit details -
Configuration menu - View commit details
-
Copy full SHA for ec88ffa - Browse repository at this point
Copy the full SHA ec88ffaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 74608c7 - Browse repository at this point
Copy the full SHA 74608c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 24dc2cb - Browse repository at this point
Copy the full SHA 24dc2cbView commit details
Commits on Mar 12, 2020
-
codegen/mir: support polymorphic
InstanceDef
sThis commit modifies the use of `subst_and_normalize_erasing_regions` on parts of the MIR bodies returned from `instance_mir`, so that `InstanceDef::CloneShim` and `InstanceDef::DropGlue` (where there is a type) do not perform substitutions. This avoids double substitutions and enables polymorphic `InstanceDef`s. Signed-off-by: David Wood <david@davidtw.co>
Configuration menu - View commit details
-
Copy full SHA for bee1513 - Browse repository at this point
Copy the full SHA bee1513View commit details
Commits on Mar 16, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 0bf5cae - Browse repository at this point
Copy the full SHA 0bf5caeView commit details -
Configuration menu - View commit details
-
Copy full SHA for fc82376 - Browse repository at this point
Copy the full SHA fc82376View commit details -
Configuration menu - View commit details
-
Copy full SHA for cf238fd - Browse repository at this point
Copy the full SHA cf238fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1249032 - Browse repository at this point
Copy the full SHA 1249032View commit details -
Configuration menu - View commit details
-
Copy full SHA for b089433 - Browse repository at this point
Copy the full SHA b089433View commit details -
Configuration menu - View commit details
-
Copy full SHA for 486a082 - Browse repository at this point
Copy the full SHA 486a082View commit details -
Configuration menu - View commit details
-
Copy full SHA for a0f57e2 - Browse repository at this point
Copy the full SHA a0f57e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for fa02dca - Browse repository at this point
Copy the full SHA fa02dcaView commit details -
Configuration menu - View commit details
-
Copy full SHA for a18aa81 - Browse repository at this point
Copy the full SHA a18aa81View commit details -
Configuration menu - View commit details
-
Copy full SHA for d125bbb - Browse repository at this point
Copy the full SHA d125bbbView commit details -
Configuration menu - View commit details
-
Copy full SHA for fa0794d - Browse repository at this point
Copy the full SHA fa0794dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5dc7c2e - Browse repository at this point
Copy the full SHA 5dc7c2eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d84f4f - Browse repository at this point
Copy the full SHA 7d84f4fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7309b3c - Browse repository at this point
Copy the full SHA 7309b3cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3abd475 - Browse repository at this point
Copy the full SHA 3abd475View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5557407 - Browse repository at this point
Copy the full SHA 5557407View commit details
Commits on Mar 17, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 8aa1328 - Browse repository at this point
Copy the full SHA 8aa1328View commit details
Commits on Mar 18, 2020
-
Fix abort-on-eprintln during process shutdown
This commit fixes an issue where if `eprintln!` is used in a TLS destructor it can accidentally cause the process to abort. TLS destructors are executed after `main` returns on the main thread, and at this point we've also deinitialized global `Lazy` values like those which store the `Stderr` and `Stdout` internals. This means that despite handling TLS not being accessible in `eprintln!`, we will fail due to not being able to call `stderr()`. This means that we'll double-panic quickly because panicking also attempt to write to stderr. The fix here is to reimplement the global stderr handle to avoid the need for destruction. This avoids the need for `Lazy` as well as the hidden panic inside of the `stderr` function. Overall this should improve the robustness of printing errors and/or panics in weird situations, since the `stderr` accessor should be infallible in more situations.
Configuration menu - View commit details
-
Copy full SHA for 2c22da0 - Browse repository at this point
Copy the full SHA 2c22da0View commit details
Commits on Mar 19, 2020
-
Rollup merge of rust-lang#69768 - oli-obk:union_field_ice, r=eddyb,Ra…
…lfJung Compute the correct layout for variants of uninhabited enums r? @eddyb cc @RalfJung fixes rust-lang#69191 cc rust-lang#69763
Configuration menu - View commit details
-
Copy full SHA for 46d8095 - Browse repository at this point
Copy the full SHA 46d8095View commit details -
Rollup merge of rust-lang#69910 - cjgillot:polym, r=Zoxc
Avoid query type in generics There are at the moment roughly 170 queries in librustc. The way ty::query is structured, a lot of code is duplicated for each query. I suspect this to be responsible for a part of librustc'c compile time. This PR reduces the amount of code generic on the query, replacing it by code generic on the key-value types. This is split out of rust-lang#69808, and should not contain the perf regression. cc rust-lang#65031
Configuration menu - View commit details
-
Copy full SHA for 50656db - Browse repository at this point
Copy the full SHA 50656dbView commit details -
Rollup merge of rust-lang#69935 - davidtwco:issue-69925, r=eddyb
codegen/mir: support polymorphic `InstanceDef`s cc rust-lang#69925 This PR modifies the use of `subst_and_normalize_erasing_regions` on parts of the MIR bodies returned from `instance_mir`, so that `InstanceDef::CloneShim` and `InstanceDef::DropGlue` (where there is a type) do not perform substitutions. This avoids double substitutions and enables polymorphic `InstanceDef`s. r? @eddyb cc @nikomatsakis
Configuration menu - View commit details
-
Copy full SHA for dc46a7f - Browse repository at this point
Copy the full SHA dc46a7fView commit details -
Rollup merge of rust-lang#69940 - tmiasko:llvm-api, r=hanna-kruppe
librustc_codegen_llvm: Replace deprecated API usage
Configuration menu - View commit details
-
Copy full SHA for b09b114 - Browse repository at this point
Copy the full SHA b09b114View commit details -
Rollup merge of rust-lang#69955 - alexcrichton:stderr-infallible, r=s…
…fackler Fix abort-on-eprintln during process shutdown This commit fixes an issue where if `eprintln!` is used in a TLS destructor it can accidentally cause the process to abort. TLS destructors are executed after `main` returns on the main thread, and at this point we've also deinitialized global `Lazy` values like those which store the `Stderr` and `Stdout` internals. This means that despite handling TLS not being accessible in `eprintln!`, we will fail due to not being able to call `stderr()`. This means that we'll double-panic quickly because panicking also attempt to write to stderr. The fix here is to reimplement the global stderr handle to avoid the need for destruction. This avoids the need for `Lazy` as well as the hidden panic inside of the `stderr` function. Overall this should improve the robustness of printing errors and/or panics in weird situations, since the `stderr` accessor should be infallible in more situations.
Configuration menu - View commit details
-
Copy full SHA for cb8af5e - Browse repository at this point
Copy the full SHA cb8af5eView commit details