Skip to content

Commit 312ad26

Browse files
committed
Auto merge of #13212 - Brooooooklyn:master, r=epage
Add cargo:rustc-cdylib-link-arg into RESERVED_PREFIXES list After #12201 was merged, the `cargo:rustc-cdylib-link-arg` in build script no longer works ```rs println!("cargo:rustc-cdylib-link-arg=-Wl"); println!("cargo:rustc-cdylib-link-arg=-undefined"); println!("cargo:rustc-cdylib-link-arg=dynamic_lookup"); ```
2 parents 1f70597 + 7aaf275 commit 312ad26

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: src/cargo/core/compiler/custom_build.rs

+1
Original file line numberDiff line numberDiff line change
@@ -707,6 +707,7 @@ impl BuildOutput {
707707
"rustc-link-lib=",
708708
"rustc-link-search=",
709709
"rustc-link-arg-cdylib=",
710+
"rustc-cdylib-link-arg=",
710711
"rustc-link-arg-bins=",
711712
"rustc-link-arg-bin=",
712713
"rustc-link-arg-tests=",

0 commit comments

Comments
 (0)