-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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 #97873
Rollup of 5 pull requests #97873
Conversation
In DWARF, alignment of types is specified in bits, as is made clear by the parameter name `AlignInBits`. However, `rustc` was incorrectly passing a byte alignment. This commit fixes that. This was noticed in upstream LLVM when I tried to check in a test consisting of LLVM IR generated from `rustc` and it triggered assertions [1]. [1]: https://reviews.llvm.org/D126835
…-copy, r=dtolnay Stabilize `const_intrinsic_copy` FCP has been completed: rust-lang#80697 (comment) Closes rust-lang#80697
Allow ptr_from_addr_cast to fail This is needed for rust-lang/miri#2133: I would like to have an option in Miri to error when a int2ptr cast is executed.
…ster Specify DWARF alignment in bits, not bytes. In DWARF, alignment of types is specified in bits, as is made clear by the parameter name `AlignInBits`. However, `rustc` was incorrectly passing a byte alignment. This commit fixes that. This was noticed in upstream LLVM when I tried to check in a test consisting of LLVM IR generated from `rustc` and it triggered assertions [1]. [1]: https://reviews.llvm.org/D126835
…tor-1, r=cjgillot Impl Traits lowering minor refactors This are unrelated changes on my RPIT refactor that may be better to merge before opening the main PR. r? `@cjgillot` cc `@nikomatsakis`
remove `BorrowckMode` dead code after rust-lang#95565
@bors r+ rollup=never p=5 |
📌 Commit 5d1a366 has been approved by |
☀️ Test successful - checks-actions |
Tested on commit rust-lang/rust@09d52bc. Direct link to PR: <rust-lang/rust#97873> 💔 miri on windows: test-pass → build-fail (cc @eddyb @oli-obk @RalfJung). 💔 miri on linux: test-pass → build-fail (cc @eddyb @oli-obk @RalfJung).
Finished benchmarking commit (09d52bc): comparison url. Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)Results
CyclesResults
If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. @rustbot label: -perf-regression Footnotes |
Successful merges:
const_intrinsic_copy
#97276 (Stabilizeconst_intrinsic_copy
)BorrowckMode
#97865 (removeBorrowckMode
)Failed merges:
r? @ghost
@rustbot modify labels: rollup
Create a similar rollup