In accordance with the design from https://github.com/rust-lang/rust/pull/96827#issuecomment-1208441595
12 lines
306 B
Rust
12 lines
306 B
Rust
use crate::spec::{LinkerFlavor, Lld, TargetOptions};
|
|
|
|
pub fn opts() -> TargetOptions {
|
|
let mut opts = super::windows_msvc_base::opts();
|
|
|
|
opts.abi = "uwp".into();
|
|
opts.vendor = "uwp".into();
|
|
opts.add_pre_link_args(LinkerFlavor::Msvc(Lld::No), &["/APPCONTAINER", "mincore.lib"]);
|
|
|
|
opts
|
|
}
|