Skip to content

Commit 525be2f

Browse files
authored
Merge pull request #168 from kornelski/cargo-cargo
Fix double cargo: prefix
2 parents dc3b7b6 + d521588 commit 525be2f

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)