We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cf1128a + d94a842 commit ef8ce46Copy full SHA for ef8ce46
src/sysroot.rs
@@ -90,7 +90,7 @@ fn build_crate(
90
91
let cargo = std::env::var("CARGO").unwrap_or("cargo".to_string());
92
let mut cmd = Command::new(cargo);
93
- cmd.env("RUSTFLAGS", "-Clinker-plugin-lto");
+ cmd.env("RUSTFLAGS", "-Cembed-bitcode=yes");
94
cmd.env("CARGO_TARGET_DIR", &target_dir);
95
cmd.env("__CARGO_DEFAULT_LIB_METADATA", "XARGO");
96
0 commit comments