-
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 8 pull requests #99014
Rollup of 8 pull requests #99014
Commits on Jun 3, 2022
-
Adapt tests to be able to run in miri
Decrease the Ns of bug loops to a smaller N, which makes them a lot faster in miri.
Configuration menu - View commit details
-
Copy full SHA for 907ea55 - Browse repository at this point
Copy the full SHA 907ea55View commit details
Commits on Jun 29, 2022
-
In this case, it seems fine to have the field be the inverse of the flag, especially the `enable` vs `disable` terminology is clear.
Configuration menu - View commit details
-
Copy full SHA for 4d67f5b - Browse repository at this point
Copy the full SHA 4d67f5bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8192288 - Browse repository at this point
Copy the full SHA 8192288View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d2fd31 - Browse repository at this point
Copy the full SHA 2d2fd31View commit details
Commits on Jul 6, 2022
-
Configuration menu - View commit details
-
Copy full SHA for a2799b2 - Browse repository at this point
Copy the full SHA a2799b2View commit details -
incr: cache dwarf objects in work products
Cache DWARF objects alongside object files in work products when those exist so that DWARF object files are available for thorin in packed mode in incremental scenarios. Signed-off-by: David Wood <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8371a03 - Browse repository at this point
Copy the full SHA 8371a03View commit details -
ssa: remove dwo of metadata and allocator module
Compiling with `-Csplit-debuginfo=packed` was leaving behind `.dwo` files because either the metadata or allocator module contained a DWARF object which was not being removed by the `maybe_remove_temps_from_module` closure.
Configuration menu - View commit details
-
Copy full SHA for fc641f2 - Browse repository at this point
Copy the full SHA fc641f2View commit details -
ssa: abort if dwarf packaging fails
This should have been here from the start... oops. When `thorin` fails to package a DWARF package, that should fail compilation.
Configuration menu - View commit details
-
Copy full SHA for e106523 - Browse repository at this point
Copy the full SHA e106523View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d205af - Browse repository at this point
Copy the full SHA 7d205afView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7967152 - Browse repository at this point
Copy the full SHA 7967152View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c9a130 - Browse repository at this point
Copy the full SHA 8c9a130View commit details -
Fix stacked borrows violation in rustc_arena
There was a problem with storing a `Box<T>` in a struct, where the current rules would invalidate the value. this makes it store a raw pointer instead, circumventing the aliasing problems.
Configuration menu - View commit details
-
Copy full SHA for 211fb66 - Browse repository at this point
Copy the full SHA 211fb66View commit details -
Document, that some lint have to be expected on the crate level (RFC …
…2383) Examples: NON_ASCII_IDENTS, UNCOMMON_CODEPOINTS, CONFUSABLE_IDENTS, MIXED_SCRIPT_CONFUSABLES
Configuration menu - View commit details
-
Copy full SHA for 6c6388c - Browse repository at this point
Copy the full SHA 6c6388cView commit details -
Configuration menu - View commit details
-
Copy full SHA for c8b4873 - Browse repository at this point
Copy the full SHA c8b4873View commit details -
Configuration menu - View commit details
-
Copy full SHA for a2810cd - Browse repository at this point
Copy the full SHA a2810cdView commit details
Commits on Jul 7, 2022
-
Make MIR basic blocks field public
This makes it possible to mutably borrow different fields of the MIR body without resorting to methods like `basic_blocks_local_decls_mut_and_var_debug_info`. To preserve validity of control flow graph caches in the presence of modifications, a new struct `BasicBlocks` wraps together basic blocks and control flow graph caches. The `BasicBlocks` dereferences to `IndexVec<BasicBlock, BasicBlockData>`. On the other hand a mutable access requires explicit `as_mut()` call.
Configuration menu - View commit details
-
Copy full SHA for c9dd1d9 - Browse repository at this point
Copy the full SHA c9dd1d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2446b17 - Browse repository at this point
Copy the full SHA 2446b17View commit details -
Configuration menu - View commit details
-
Copy full SHA for 39d9c1c - Browse repository at this point
Copy the full SHA 39d9c1cView commit details -
Configuration menu - View commit details
-
Copy full SHA for dfa6a7c - Browse repository at this point
Copy the full SHA dfa6a7cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 17adfeb - Browse repository at this point
Copy the full SHA 17adfebView commit details -
Rollup merge of rust-lang#96856 - DrMeepster:fix_projection_validatio…
…n, r=Icnr Fix ProjectionElem validation `TypeChecker::visit_projection_elem` was not actually being called.
Configuration menu - View commit details
-
Copy full SHA for f6bbe28 - Browse repository at this point
Copy the full SHA f6bbe28View commit details -
Rollup merge of rust-lang#97711 - Nilstrieb:rustc-arena-ub, r=wesleyw…
…iser Improve soundness of rustc_arena Make it runnable in miri by changing the loop iteration count for some tests in miri. Also fix a stacked borrows issue with box.
Configuration menu - View commit details
-
Copy full SHA for d63c713 - Browse repository at this point
Copy the full SHA d63c713View commit details -
Rollup merge of rust-lang#98507 - xFrednet:rfc-2383-manual-expectatio…
…n-magic, r=wesleywiser Finishing touches for `#[expect]` (RFC 2383) This PR adds documentation and some functionality to rustc's lint passes, to manually fulfill expectations. This is needed for some lints in Clippy. Hopefully, it should be one of the last things before we can move forward with stabilizing this feature. As part of this PR, I've also updated `clippy::duplicate_mod` to showcase how this new functionality can be used and to ensure that it works correctly. --- changelog: [`duplicate_mod`]: Fixed lint attribute interaction r? `@wesleywiser` cc: rust-lang#97660, rust-lang#85549 And I guess that's it. Here have a magical unicorn 🦄
Configuration menu - View commit details
-
Copy full SHA for c815fef - Browse repository at this point
Copy the full SHA c815fefView commit details -
Rollup merge of rust-lang#98692 - camelid:more-fixmes, r=GuillaumeGomez
rustdoc: Cleanup more FIXMEs r? `@GuillaumeGomez`
Configuration menu - View commit details
-
Copy full SHA for 776bb64 - Browse repository at this point
Copy the full SHA 776bb64View commit details -
Rollup merge of rust-lang#98901 - davidtwco:split-dwarf-incr-workprod…
…uct, r=michaelwoerister incr: cache dwarf objects in work products Cache DWARF objects alongside object files in work products when those exist so that DWARF object files are available for thorin in packed mode in incremental scenarios. r? `@michaelwoerister`
Configuration menu - View commit details
-
Copy full SHA for ade6d2c - Browse repository at this point
Copy the full SHA ade6d2cView commit details -
Rollup merge of rust-lang#98930 - tmiasko:pub-basic-blocks, r=oli-obk
Make MIR basic blocks field public This makes it possible to mutably borrow different fields of the MIR body without resorting to methods like `basic_blocks_local_decls_mut_and_var_debug_info`. To preserve validity of control flow graph caches in the presence of modifications, a new struct `BasicBlocks` wraps together basic blocks and control flow graph caches. The `BasicBlocks` dereferences to `IndexVec<BasicBlock, BasicBlockData>`. On the other hand a mutable access requires explicit `as_mut()` call.
Configuration menu - View commit details
-
Copy full SHA for 71b3fbd - Browse repository at this point
Copy the full SHA 71b3fbdView commit details -
Rollup merge of rust-lang#98973 - GuillaumeGomez:inherent-impl-anchor…
…s, r=notriddle Remove (unused) inherent impl anchors This is something `@notriddle` realized a few days ago: we have unused anchors in the DOM. This PR removes them. You can test it [here](https://rustdoc.crud.net/imperio/inherent-impl-anchors/foo/index.html). r? `@notriddle`
Configuration menu - View commit details
-
Copy full SHA for f242e29 - Browse repository at this point
Copy the full SHA f242e29View commit details -
Rollup merge of rust-lang#98981 - pierwill:pierwill/dataflow-docs-edi…
…ts, r=Dylan-DPC Edit `rustc_mir_dataflow::framework` documentation Some edits for clarity and consistency.
Configuration menu - View commit details
-
Copy full SHA for 6910d84 - Browse repository at this point
Copy the full SHA 6910d84View commit details