Skip to content

Commit

Permalink
Auto merge of #13212 - Brooooooklyn:master, r=epage
Browse files Browse the repository at this point in the history
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");
```
  • Loading branch information
bors committed Dec 29, 2023
2 parents 1f70597 + 7aaf275 commit 312ad26
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cargo/core/compiler/custom_build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -707,6 +707,7 @@ impl BuildOutput {
"rustc-link-lib=",
"rustc-link-search=",
"rustc-link-arg-cdylib=",
"rustc-cdylib-link-arg=",
"rustc-link-arg-bins=",
"rustc-link-arg-bin=",
"rustc-link-arg-tests=",
Expand Down

0 comments on commit 312ad26

Please sign in to comment.