-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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 6 pull requests #70222
Rollup of 6 pull requests #70222
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 19, 2020
-
Configuration menu - View commit details
-
Copy full SHA for f8178c7 - Browse repository at this point
Copy the full SHA f8178c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 82920f3 - Browse repository at this point
Copy the full SHA 82920f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for d641ad0 - Browse repository at this point
Copy the full SHA d641ad0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6cb5846 - Browse repository at this point
Copy the full SHA 6cb5846View commit details -
Configuration menu - View commit details
-
Copy full SHA for 17c94c6 - Browse repository at this point
Copy the full SHA 17c94c6View commit details
Commits on Mar 20, 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 5edaa7e - Browse repository at this point
Copy the full SHA 5edaa7eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0296d49 - Browse repository at this point
Copy the full SHA 0296d49View commit details -
Configuration menu - View commit details
-
Copy full SHA for 55c2cf2 - Browse repository at this point
Copy the full SHA 55c2cf2View commit details -
Configuration menu - View commit details
-
Copy full SHA for d9f60bc - Browse repository at this point
Copy the full SHA d9f60bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for c62e36b - Browse repository at this point
Copy the full SHA c62e36bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b49678 - Browse repository at this point
Copy the full SHA 7b49678View commit details
Commits on Mar 21, 2020
-
Configuration menu - View commit details
-
Copy full SHA for e548df7 - Browse repository at this point
Copy the full SHA e548df7View commit details -
Rollup merge of rust-lang#69497 - Zoxc:ast-fragment-error, r=petroche…
…nkov Don't unwind when hitting the macro expansion recursion limit This removes one use of `FatalError.raise()`. r? @petrochenkov
Configuration menu - View commit details
-
Copy full SHA for a6596f2 - Browse repository at this point
Copy the full SHA a6596f2View commit details -
Rollup merge of rust-lang#69901 - RalfJung:rustc_layout, r=eddyb
add #[rustc_layout(debug)] @eddyb recently told me about the `#[rustc_layout]` attribute, and I think it would be very useful if it could be used to print all the layout information Rust has about a type. When working with layouts (e.g. in Miri), it is often not clear how certain surface language features get represented internally. I have some awful hacks locally to be able to dump this debug information; with this attribute I could get it on the playground which is so much better. :)
Configuration menu - View commit details
-
Copy full SHA for fd3f917 - Browse repository at this point
Copy the full SHA fd3f917View 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 8deeac1 - Browse repository at this point
Copy the full SHA 8deeac1View 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 276b54e - Browse repository at this point
Copy the full SHA 276b54eView commit details -
Rollup merge of rust-lang#70032 - lcnr:issue69970, r=varkor
put type params in front of const params in generics_of fixes rust-lang#69970 r? @varkor
Configuration menu - View commit details
-
Copy full SHA for 266801d - Browse repository at this point
Copy the full SHA 266801dView commit details -
Rollup merge of rust-lang#70119 - eddyb:typeck-tables-local-def-id, r…
…=petrochenkov rustc: use LocalDefId instead of DefId in TypeckTables. The logic in `TypeckTables`' implementation of `HashStable`, which created `DefId`s by combining a `CrateNum` from a `DefId` and a `DefIndex` from a `LocalDefId`, bothered me a bit. I don't know how much this matters, but it works so might as well submit it.
Configuration menu - View commit details
-
Copy full SHA for f1ab750 - Browse repository at this point
Copy the full SHA f1ab750View commit details