We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
unsafe
link_section
1 parent d0c8ff8 commit 00eef83Copy full SHA for 00eef83
src/log.rs
@@ -3,7 +3,7 @@
3
/// c-scape initializes its environment-variable state at
4
/// `.init_array.00098`, so using `.00099` means we run after that, so
5
/// initializing loggers that depend on eg. `RUST_LOG` work.
6
-#[link_section = ".init_array.00099"]
+#[unsafe(link_section = ".init_array.00099")]
7
#[used]
8
static INIT_ARRAY: unsafe extern "C" fn() = {
9
unsafe extern "C" fn function() {
0 commit comments