-
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 7 pull requests #99422
Rollup of 7 pull requests #99422
Commits on Jul 3, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 5f5ca88 - Browse repository at this point
Copy the full SHA 5f5ca88View commit details
Commits on Jul 7, 2022
-
Stop emitting CET prologues for naked functions
We can apply nocf_check as a hack for now.
Configuration menu - View commit details
-
Copy full SHA for 92174f9 - Browse repository at this point
Copy the full SHA 92174f9View commit details -
Also stop emitting BTI prologues for naked functions
Same idea but for AArch64.
Configuration menu - View commit details
-
Copy full SHA for 530b5da - Browse repository at this point
Copy the full SHA 530b5daView commit details
Commits on Jul 14, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 080a53a - Browse repository at this point
Copy the full SHA 080a53aView commit details
Commits on Jul 16, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 75a1b1c - Browse repository at this point
Copy the full SHA 75a1b1cView commit details
Commits on Jul 17, 2022
-
Configuration menu - View commit details
-
Copy full SHA for c822183 - Browse repository at this point
Copy the full SHA c822183View commit details -
Configuration menu - View commit details
-
Copy full SHA for e6be52b - Browse repository at this point
Copy the full SHA e6be52bView commit details
Commits on Jul 18, 2022
-
Add regression test for rust-lang#95230
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
Configuration menu - View commit details
-
Copy full SHA for 5172a2f - Browse repository at this point
Copy the full SHA 5172a2fView commit details -
Rollup merge of rust-lang#98839 - 5225225:assert_transmute_copy_size,…
… r=thomcc Add assertion that `transmute_copy`'s U is not larger than T This is called out as a safety requirement in the docs, but because knowing this can be done at compile time and constant folded (just like the `align_of` branch is removed), we can just panic here. I've looked at the asm (using `cargo-asm`) of a function that both is correct and incorrect, and the panic is completely removed, or is unconditional, without needing build-std. I don't expect this to cause much breakage in the wild. I scanned through https://miri.saethlin.dev/ub for issues that would look like this (error: Undefined Behavior: memory access failed: alloc1768 has size 1, so pointer to 8 bytes starting at offset 0 is out-of-bounds), but couldn't find any. That doesn't rule out it happening in crates tested that fail earlier for some other reason, though, but it indicates that doing this is rare, if it happens at all. A crater run for this would need to be build and test, since this is a runtime thing. Also added a few more transmute_copy tests.
Configuration menu - View commit details
-
Copy full SHA for 5ccdf1f - Browse repository at this point
Copy the full SHA 5ccdf1fView commit details -
Rollup merge of rust-lang#98998 - workingjubilee:naked-means-no-cloth…
…es-enforcement-technology, r=Amanieu Remove branch target prologues from `#[naked] fn` This patch hacks around rust-lang#98768 for now via injecting appropriate attributes into the LLVMIR we emit for naked functions. I intend to pursue this upstream so that these attributes can be removed in general, but it's slow going wading through C++ for me.
Configuration menu - View commit details
-
Copy full SHA for a027b01 - Browse repository at this point
Copy the full SHA a027b01View commit details -
Rollup merge of rust-lang#99198 - RalfJung:alloc-null-ptr, r=JohnTitor
add missing null ptr check in alloc example `alloc` can return null on OOM, if I understood correctly. So we should never just deref a pointer we get from `alloc`.
Configuration menu - View commit details
-
Copy full SHA for e423a6f - Browse repository at this point
Copy the full SHA e423a6fView commit details -
Rollup merge of rust-lang#99344 - notriddle:notriddle/multiple-macro-…
…rules-w-same-name, r=GuillaumeGomez rustdoc: avoid inlining items with duplicate `(type, name)` Fixes rust-lang#99221
Configuration menu - View commit details
-
Copy full SHA for affdcd6 - Browse repository at this point
Copy the full SHA affdcd6View commit details -
Rollup merge of rust-lang#99351 - compiler-errors:arg-mismatch-blame,…
… r=davidtwco Use `typeck_results` to get accurate qpath res for arg mismatch error Improves error message from "function" to actually what we're calling (e.g. enum variant constrcutor) in a few cases 😸
Configuration menu - View commit details
-
Copy full SHA for 60c1068 - Browse repository at this point
Copy the full SHA 60c1068View commit details -
Rollup merge of rust-lang#99378 - RalfJung:box-early-return, r=oli-obk
interpret/visitor: add missing early return I forgot to add this when adding the special `Box` handling branch. r? ```@oli-obk```
Configuration menu - View commit details
-
Copy full SHA for a47a090 - Browse repository at this point
Copy the full SHA a47a090View commit details -
Rollup merge of rust-lang#99394 - JohnTitor:issue-95230, r=compiler-e…
…rrors Add regression test for rust-lang#95230 Closes rust-lang#95230 r? ```@compiler-errors``` Signed-off-by: Yuki Okushi <jtitor@2k36.org>
Configuration menu - View commit details
-
Copy full SHA for 068a559 - Browse repository at this point
Copy the full SHA 068a559View commit details