-
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 6 pull requests #95481
Rollup of 6 pull requests #95481
Commits on Mar 10, 2022
-
When I implemented rust-only bootstrapping in rust-lang#92260, I neglected to test stage0 tools - it turns out they were broken because they couldn't find the sysroot of the initial bootstrap compiler. This fixes stage0 tools by using `rustc --print sysroot` instead of assuming rustc is already in a sysroot and hard-coding the relative directory.
Configuration menu - View commit details
-
Copy full SHA for 25a7d2d - Browse repository at this point
Copy the full SHA 25a7d2dView commit details
Commits on Mar 25, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 0cf6061 - Browse repository at this point
Copy the full SHA 0cf6061View commit details -
Use ManuallyDrop::take instead of into_inner
Co-authored-by: Daniel Henry-Mantilla <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d14c0d2 - Browse repository at this point
Copy the full SHA d14c0d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b53f56 - Browse repository at this point
Copy the full SHA 4b53f56View commit details -
Configuration menu - View commit details
-
Copy full SHA for d9a438d - Browse repository at this point
Copy the full SHA d9a438dView commit details
Commits on Mar 30, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 2799885 - Browse repository at this point
Copy the full SHA 2799885View commit details -
async: Give predictable, reserved name to binding generated from .awa…
…it expressions. This name makes it to debuginfo and allows debuggers to identify such bindings and their captured versions in suspended async fns.
Configuration menu - View commit details
-
Copy full SHA for 78e27e2 - Browse repository at this point
Copy the full SHA 78e27e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for f0b12f4 - Browse repository at this point
Copy the full SHA f0b12f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for e4248fe - Browse repository at this point
Copy the full SHA e4248feView commit details -
Configuration menu - View commit details
-
Copy full SHA for 39a8442 - Browse repository at this point
Copy the full SHA 39a8442View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f36c94 - Browse repository at this point
Copy the full SHA 4f36c94View commit details -
Rollup merge of rust-lang#94806 - jyn514:cargo-run-tidy, r=Mark-Simul…
…acrum Fix `cargo run tidy` When I implemented rust-only bootstrapping in rust-lang#92260, I neglected to test stage0 tools - it turns out they were broken because they couldn't find the sysroot of the initial bootstrap compiler. This fixes stage0 tools by using `rustc --print sysroot` instead of assuming rustc is already in a sysroot and hard-coding the relative directory. Fixes rust-lang#94797 (properly, without having to change rustup).
Configuration menu - View commit details
-
Copy full SHA for 3b851de - Browse repository at this point
Copy the full SHA 3b851deView commit details -
Rollup merge of rust-lang#94869 - jackh726:gats_extended, r=compiler-…
…errors Add the generic_associated_types_extended feature Right now, this only ignore obligations that reference new placeholders in `poly_project_and_unify_type`. In the future, this might do other things, like allowing object-safe GATs. **This feature is *incomplete* and quite likely unsound. This is mostly just for testing out potential future APIs using a "relaxed" set of rules until we figure out *proper* rules.** Also drive by cleanup of adding a `ProjectAndUnifyResult` enum instead of using a `Result<Result<Option>>`. r? `@nikomatsakis`
Configuration menu - View commit details
-
Copy full SHA for 557a22c - Browse repository at this point
Copy the full SHA 557a22cView commit details -
Rollup merge of rust-lang#95011 - michaelwoerister:awaitee_field, r=t…
…mandry async: Give predictable name to binding generated from .await expressions. This name makes it to debuginfo and allows debuggers to identify such bindings and their captured versions in suspended async fns. This will be useful for async stack traces, as discussed in https://internals.rust-lang.org/t/async-debugging-logical-stack-traces-setting-goals-collecting-examples/15547. I don't know if this needs some discussion by ``@rust-lang/compiler,`` e.g. about the name of the binding (`__awaitee`) or about the fact that this PR introduces a (soft) guarantee about a compiler generated name. Although, regarding the later, I think the same reasoning applies here as it does for debuginfo in general. r? ``@tmandry``
Configuration menu - View commit details
-
Copy full SHA for 9d22cc2 - Browse repository at this point
Copy the full SHA 9d22cc2View commit details -
Rollup merge of rust-lang#95032 - m-ou-se:std-features, r=yaahc
Clean up, categorize and sort unstable features in std.
Configuration menu - View commit details
-
Copy full SHA for 5df71e1 - Browse repository at this point
Copy the full SHA 5df71e1View commit details -
Rollup merge of rust-lang#95298 - jhorstmann:fix-double-drop-of-alloc…
…ator-in-vec-into-iter, r=oli-obk Fix double drop of allocator in IntoIter impl of Vec Fixes rust-lang#95269 The `drop` impl of `IntoIter` reconstructs a `RawVec` from `buf`, `cap` and `alloc`, when that `RawVec` is dropped it also drops the allocator. To avoid dropping the allocator twice we wrap it in `ManuallyDrop` in the `InttoIter` struct. Note this is my first contribution to the standard library, so I might be missing some details or a better way to solve this.
Configuration menu - View commit details
-
Copy full SHA for 0e31fd1 - Browse repository at this point
Copy the full SHA 0e31fd1View commit details -
Rollup merge of rust-lang#95456 - RalfJung:size, r=oli-obk
allow large Size again This basically reverts most of rust-lang#80042, and instead does the panic in `bits()` with a `#[cold]` function to make sure it does not get inlined. rust-lang#80042 added a comment about an invariant ("The top 3 bits are ALWAYS zero") that is not actually enforced, and if it were enforced that would be a problem for rust-lang#95388. So I think we should not have that invariant, and I adjusted the code accordingly. r? `@oli-obk` Cc `@sivadeilra`
Configuration menu - View commit details
-
Copy full SHA for 7b3702c - Browse repository at this point
Copy the full SHA 7b3702cView commit details