We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a37293 commit d94a842Copy full SHA for d94a842
src/sysroot.rs
@@ -84,7 +84,7 @@ fn build_crate(
84
85
let cargo = std::env::var("CARGO").unwrap_or("cargo".to_string());
86
let mut cmd = Command::new(cargo);
87
- cmd.env("RUSTFLAGS", "-Clinker-plugin-lto");
+ cmd.env("RUSTFLAGS", "-Cembed-bitcode=yes");
88
cmd.env("CARGO_TARGET_DIR", &target_dir);
89
cmd.env("__CARGO_DEFAULT_LIB_METADATA", "XARGO");
90
0 commit comments