Skip to content

Commit 1ff055d

Browse files
committed
Set .init_array priority
I'm not entirely sure *why*, but this fixed a problem I was having.
1 parent d8b6be9 commit 1ff055d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/sys/unix/args.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ mod imp {
8080

8181
#[cfg(all(target_os = "linux", target_env = "gnu"))]
8282
#[used]
83-
#[link_section = ".init_array"]
83+
#[link_section = ".init_array.00099"]
8484
static ARGV_INIT_ARRAY: extern "C" fn(
8585
crate::os::raw::c_int,
8686
*const *const u8,

0 commit comments

Comments
 (0)