Set .init_array priority
I'm not entirely sure *why*, but this fixed a problem I was having.
This commit is contained in:
parent
d8b6be9b1f
commit
1ff055d875
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ mod imp {
|
||||||
|
|
||||||
#[cfg(all(target_os = "linux", target_env = "gnu"))]
|
#[cfg(all(target_os = "linux", target_env = "gnu"))]
|
||||||
#[used]
|
#[used]
|
||||||
#[link_section = ".init_array"]
|
#[link_section = ".init_array.00099"]
|
||||||
static ARGV_INIT_ARRAY: extern "C" fn(
|
static ARGV_INIT_ARRAY: extern "C" fn(
|
||||||
crate::os::raw::c_int,
|
crate::os::raw::c_int,
|
||||||
*const *const u8,
|
*const *const u8,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue