about summary refs log tree commit diff
path: root/tests/codegen/patchable-function-entry
diff options
context:
space:
mode:
authorChayim Refael Friedman <chayimfr@gmail.com>2024-12-04 03:38:37 +0200
committerChayim Refael Friedman <chayimfr@gmail.com>2024-12-04 03:38:37 +0200
commit0d328a81ec0543ffbe63906f0e0b88bb2179ecc2 (patch)
tree0ee8ece6b63b6d48790416186d9ee19d0c479f76 /tests/codegen/patchable-function-entry
parentfef7ca07bfd5a75da9716a861707fa8abe95fa5f (diff)
downloadrust-0d328a81ec0543ffbe63906f0e0b88bb2179ecc2.tar.gz
rust-0d328a81ec0543ffbe63906f0e0b88bb2179ecc2.zip
Improve soundness a bit by making `TaggedArcPtr::try_as_arc_owned()` unsafe
Since the `ManuallyDrop` it returns can be safely used to consume the `Arc`, which is can cause UB if done incorrectly. See #18499.
Diffstat (limited to 'tests/codegen/patchable-function-entry')
0 files changed, 0 insertions, 0 deletions