diff options
| author | bors <bors@rust-lang.org> | 2024-08-30 07:55:50 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-08-30 07:55:50 +0000 |
| commit | e77de3841575f0febfc3f774071214da2e676460 (patch) | |
| tree | 81fca26fda7242dfa42271200085c41163860098 /tests/codegen/patchable-function-entry | |
| parent | a729229a217a623ecd9bcb4ed08e07ad40ac5a71 (diff) | |
| parent | 0dfe40f0a38ed31ff9ef0e14fd24c5585bb869cd (diff) | |
| download | rust-e77de3841575f0febfc3f774071214da2e676460.tar.gz rust-e77de3841575f0febfc3f774071214da2e676460.zip | |
Auto merge of #18003 - ChayimFriedman2:addr_of-static-mut, r=Veykril
Do not report missing unsafe on `addr_of[_mut]!(EXTERN_OR_MUT_STATIC)` The compiler no longer does as well; see https://github.com/rust-lang/rust/pull/125834. Also require unsafe when accessing `extern` `static` (other than by `addr_of!()`). Fixes #17978.
Diffstat (limited to 'tests/codegen/patchable-function-entry')
0 files changed, 0 insertions, 0 deletions
