diff options
| author | Chayim Refael Friedman <chayimfr@gmail.com> | 2024-12-04 03:38:37 +0200 |
|---|---|---|
| committer | Chayim Refael Friedman <chayimfr@gmail.com> | 2024-12-04 03:38:37 +0200 |
| commit | 0d328a81ec0543ffbe63906f0e0b88bb2179ecc2 (patch) | |
| tree | 0ee8ece6b63b6d48790416186d9ee19d0c479f76 /tests/codegen/patchable-function-entry/patchable-function-entry-one-flag.rs | |
| parent | fef7ca07bfd5a75da9716a861707fa8abe95fa5f (diff) | |
| download | rust-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/patchable-function-entry-one-flag.rs')
0 files changed, 0 insertions, 0 deletions
