Skip to content

Commit d521588

Browse files
committed
Fix double cargo: prefix
1 parent dc3b7b6 commit d521588

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -906,7 +906,7 @@ impl Library {
906906

907907
if val.starts_with(':') {
908908
// Pass this flag to linker directly.
909-
let meta = format!("cargo:rustc-link-arg={}{}", flag, val);
909+
let meta = format!("rustc-link-arg={}{}", flag, val);
910910
config.print_metadata(&meta);
911911
} else if statik && is_static_available(val, &system_roots, &dirs) {
912912
let meta = format!("rustc-link-lib=static={}", val);

0 commit comments

Comments
 (0)