diff options
| author | Michael Goulet <michael@errs.io> | 2025-02-07 19:42:33 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2025-02-09 17:11:13 +0000 |
| commit | a4e7f8f9bf10588cb5519ae09a15be155499901f (patch) | |
| tree | 49525f3454d966963544c40b78793dc74f0702cc /library/rtstartup | |
| parent | 04bbc8340a0e0031aef7f406c087a0ba64c1b491 (diff) | |
| download | rust-a4e7f8f9bf10588cb5519ae09a15be155499901f.tar.gz rust-a4e7f8f9bf10588cb5519ae09a15be155499901f.zip | |
Mark extern blocks as unsafe
Diffstat (limited to 'library/rtstartup')
| -rw-r--r-- | library/rtstartup/rsbegin.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/rtstartup/rsbegin.rs b/library/rtstartup/rsbegin.rs index 83ec21ade40..67b09599d9d 100644 --- a/library/rtstartup/rsbegin.rs +++ b/library/rtstartup/rsbegin.rs @@ -76,7 +76,7 @@ pub mod eh_frames { } // Unwind info registration/deregistration routines. - extern "C" { + unsafe extern "C" { fn __register_frame_info(eh_frame_begin: *const u8, object: *mut u8); fn __deregister_frame_info(eh_frame_begin: *const u8, object: *mut u8); } |
