diff options
| author | leo60228 <iakornfeld@gmail.com> | 2019-11-21 11:44:22 -0500 |
|---|---|---|
| committer | leo60228 <iakornfeld@gmail.com> | 2019-11-22 12:27:07 -0500 |
| commit | 1ff055d875d0a3b19e0567a7e1cc6a2ee1a7921a (patch) | |
| tree | 91fcbddbba2d347b81070ca6b5f5912c275a9674 /src/libstd/sys/unix/args.rs | |
| parent | d8b6be9b1ffad1bff1eebe0905b60b35a234ebee (diff) | |
| download | rust-1ff055d875d0a3b19e0567a7e1cc6a2ee1a7921a.tar.gz rust-1ff055d875d0a3b19e0567a7e1cc6a2ee1a7921a.zip | |
Set .init_array priority
I'm not entirely sure *why*, but this fixed a problem I was having.
Diffstat (limited to 'src/libstd/sys/unix/args.rs')
| -rw-r--r-- | src/libstd/sys/unix/args.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sys/unix/args.rs b/src/libstd/sys/unix/args.rs index 4dd331d3130..209c5c542bc 100644 --- a/src/libstd/sys/unix/args.rs +++ b/src/libstd/sys/unix/args.rs @@ -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, |
