[MSVC] cl.exe doesn't support static relocations with large address awareness.
94d5b96
Opened by Richard Diamond at
See relocation-model from run-make.
The fix for this issue is probably going to be detecting the
staticrelocation-model argument and then passing/LARGEADDRESSAWARE:NOto the linker.Alex Crichton at 2015-08-27 18:17:48
Triage: no change, as far as I can tell.
// Mark all dynamic libraries and executables as compatible with the larger 4GiB a ddress // space available to x86 Windows binaries on x86_64. base.pre_link_args.push("/LARGEADDRESSAWARE".to_string());Steve Klabnik at 2017-03-01 15:12:16
Triage:
> git grep LARGEADDRESSAWARE src/librustc_target/spec/i686_pc_windows_msvc.rs: .get_mut(&LinkerFlavor::Msvc).unwrap().push("/LARGEADDRESSAWARE".to_string());Steve Klabnik at 2019-03-12 17:35:19