Set .init_array priority
I'm not entirely sure *why*, but this fixed a problem I was having.
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user