We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
extern "C"
1 parent 9846d36 commit 4da40feCopy full SHA for 4da40fe
src/program/linux_raw.rs
@@ -112,7 +112,7 @@ pub(super) unsafe extern "C" fn entry(mem: *mut usize) -> ! {
112
113
// The linker-generated symbols that mark the start and end of the
114
// `.init_array` section.
115
- extern "C" {
+ unsafe extern "C" {
116
static __init_array_start: c_void;
117
static __init_array_end: c_void;
118
}
@@ -307,7 +307,7 @@ pub fn exit(status: c_int) -> ! {
307
308
309
// `.fini_array` section.
310
311
static __fini_array_start: c_void;
312
static __fini_array_end: c_void;
313
0 commit comments