-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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 #92232
Rollup of 5 pull requests #92232
Commits on Nov 5, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 8ad6e5f - Browse repository at this point
Copy the full SHA 8ad6e5fView commit details
Commits on Dec 20, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 5994990 - Browse repository at this point
Copy the full SHA 5994990View commit details -
Configuration menu - View commit details
-
Copy full SHA for 91161ed - Browse repository at this point
Copy the full SHA 91161edView commit details
Commits on Dec 21, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 1ea4aa0 - Browse repository at this point
Copy the full SHA 1ea4aa0View commit details
Commits on Dec 22, 2021
-
Store a
DefId
instead of anAdtDef
inAggregateKind::Adt
The `AggregateKind` enum ends up in the final mir `Body`. Currently, any changes to `AdtDef` (regardless of how significant they are) will legitimately cause the overall result of `optimized_mir` to change, invalidating any codegen re-use involving that mir. This will get worse once we start hashing the `Span` inside `FieldDef` (which is itself contained in `AdtDef`). To try to reduce these kinds of invalidations, this commit changes `AggregateKind::Adt` to store just the `DefId`, instead of the full `AdtDef`. This allows the result of `optimized_mir` to be unchanged if the `AdtDef` changes in a way that doesn't actually affect any of the MIR we build.
Configuration menu - View commit details
-
Copy full SHA for cac431b - Browse repository at this point
Copy the full SHA cac431bView commit details
Commits on Dec 23, 2021
-
Configuration menu - View commit details
-
Copy full SHA for b467887 - Browse repository at this point
Copy the full SHA b467887View commit details -
Rollup merge of rust-lang#90625 - Milo123459:ref-unwind-safe, r=dtolnay
Add `UnwindSafe` to `Once` Fixes rust-lang#43469
Configuration menu - View commit details
-
Copy full SHA for 40c6720 - Browse repository at this point
Copy the full SHA 40c6720View commit details -
Rollup merge of rust-lang#92121 - RalfJung:miri-core-test, r=kennytm
disable test with self-referential generator on Miri Running the libcore test suite in Miri currently fails due to the known incompatibility of self-referential generators with Miri's aliasing checks (rust-lang/unsafe-code-guidelines#148). So let's disable that test in Miri for now.
Configuration menu - View commit details
-
Copy full SHA for 94b9b5f - Browse repository at this point
Copy the full SHA 94b9b5fView commit details -
Rollup merge of rust-lang#92166 - fee1-dead:patch-2, r=jyn514
Fixed a small typo in ui test comments
Configuration menu - View commit details
-
Copy full SHA for cf7ee69 - Browse repository at this point
Copy the full SHA cf7ee69View commit details -
Rollup merge of rust-lang#92203 - Aaron1011:mir-adt-def, r=oli-obk
Store a `DefId` instead of an `AdtDef` in `AggregateKind::Adt` The `AggregateKind` enum ends up in the final mir `Body`. Currently, any changes to `AdtDef` (regardless of how significant they are) will legitimately cause the overall result of `optimized_mir` to change, invalidating any codegen re-use involving that mir. This will get worse once we start hashing the `Span` inside `FieldDef` (which is itself contained in `AdtDef`). To try to reduce these kinds of invalidations, this commit changes `AggregateKind::Adt` to store just the `DefId`, instead of the full `AdtDef`. This allows the result of `optimized_mir` to be unchanged if the `AdtDef` changes in a way that doesn't actually affect any of the MIR we build.
Configuration menu - View commit details
-
Copy full SHA for 8a61ae0 - Browse repository at this point
Copy the full SHA 8a61ae0View commit details -
Rollup merge of rust-lang#92231 - ehuss:update-books, r=ehuss
Update books ## nomicon 1 commits in 49681ea4a9fa81173dbe9ffed74b4d4a35eae9e3..c05c452b36358821bf4122f9c418674edd1d713d 2021-11-24 16:27:28 +0900 to 2021-12-13 15:23:48 +0900 - Update the guidance on uninitialized data with ptr::addr_of_mut (rust-lang/nomicon#325) ## reference 3 commits in 954f3d441ad880737a13e241108f791a4d2a38cd..06f9e61931bcf58b91dfe6c924057e42ce273ee1 2021-11-29 11:11:30 -0800 to 2021-12-17 07:31:40 -0800 - keep consistent for primitive types (rust-lang/reference#1118) - README.md: link to mdbook docs (rust-lang/reference#1117) - Say that `...` range patterns are rejected in the 2021 edition (rust-lang/reference#1114) ## book 4 commits in 5f9358faeb1f46e19b8a23a21e79fd7fe150491e..8a0bb3c96e71927b80fa2286d7a5a5f2547c6aa4 2021-12-05 21:33:16 -0500 to 2021-12-22 20:54:27 -0500 - Propagate edits back - Fix number disagreement. Fixes rust-lang/book#2858. - Wrap some code in main to make scopes clearer. Fixes rust-lang/book#2830. - Respond to ch5 nostarch edits ## rustc-dev-guide 9 commits in a374e7d8bb6b79de45b92295d06b4ac0ef35bc09..9bf0028b557798ddd07a6f652e4d0c635d3d6620 2021-12-03 09:26:47 -0800 to 2021-12-20 21:53:57 +0900 - remove rustfix item in test intro (rust-lang/rustc-dev-guide#1277) - Move date-check comment to fix Markdown syntax - Update humor docs for special-casing ferris emoji - Fix some broken links (rust-lang/rustc-dev-guide#1274) - Update rustdoc internals - Update HIR chapter to use `HirId` instead of `NodeId` - Fix some broken links - Update src/getting-started.md - Improve documentation on r?
Configuration menu - View commit details
-
Copy full SHA for 996fb28 - Browse repository at this point
Copy the full SHA 996fb28View commit details