add a few more assert_unsafe_precondition#102315
Conversation
|
Hey! It looks like you've submitted a new PR for the library teams! If this PR contains changes to any Examples of
|
|
(rust-highfive has picked a reviewer for you, use r? to override) |
75b0f4c to
85bf118
Compare
|
r? libs |
|
r? @thomcc |
|
Thanks! Really wanted the alignment ones the other day! @bors r+ rollup=iffy |
|
📌 Commit 85bf118649b3f32dc795e400d0a28d88d269d1ae has been approved by It is now in the queue for this repository. |
|
⌛ Testing commit 85bf118649b3f32dc795e400d0a28d88d269d1ae with merge fb3ba99601b5972a9694f4e0ef056ff40b54665b... |
This comment has been minimized.
This comment has been minimized.
|
💔 Test failed - checks-actions |
85bf118 to
6f64334
Compare
|
The Miri subtree was changed cc @rust-lang/miri |
|
@bors r=thomcc |
|
⌛ Testing commit d71a851 with merge 3c49830f5329b10c80ddec098e5e378935fbbc05... |
|
💥 Test timed out |
|
@bors retry timeout on apple-alt |
|
☀️ Test successful - checks-actions |
|
Finished benchmarking commit (8796e7a): comparison URL. Overall result: ❌ regressions - no action needed@rustbot label: -perf-regression Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Footnotes |
… r=thomcc add a few more assert_unsafe_precondition Add debug-assertion checking for `ptr.read()`, `ptr.write(_)`, and `unreachable_unchecked.` This is quite useful for [cargo-careful](https://github.com/RalfJung/cargo-careful).
Add debug-assertion checking for
ptr.read(),ptr.write(_), andunreachable_unchecked.This is quite useful for cargo-careful.