Skip to content

Commit

Permalink
Set .init_array priority
Browse files Browse the repository at this point in the history
I'm not entirely sure *why*, but this fixed a problem I was having.
  • Loading branch information
leo60228 committed Nov 22, 2019
1 parent d8b6be9 commit 1ff055d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/sys/unix/args.rs
Expand Up @@ -80,7 +80,7 @@ mod imp {

#[cfg(all(target_os = "linux", target_env = "gnu"))]
#[used]
#[link_section = ".init_array"]
#[link_section = ".init_array.00099"]
static ARGV_INIT_ARRAY: extern "C" fn(
crate::os::raw::c_int,
*const *const u8,
Expand Down

0 comments on commit 1ff055d

Please sign in to comment.