We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc3b7b6 commit d521588Copy full SHA for d521588
src/lib.rs
@@ -906,7 +906,7 @@ impl Library {
906
907
if val.starts_with(':') {
908
// Pass this flag to linker directly.
909
- let meta = format!("cargo:rustc-link-arg={}{}", flag, val);
+ let meta = format!("rustc-link-arg={}{}", flag, val);
910
config.print_metadata(&meta);
911
} else if statik && is_static_available(val, &system_roots, &dirs) {
912
let meta = format!("rustc-link-lib=static={}", val);
0 commit comments