File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -546,7 +546,9 @@ impl BuildOutput {
546
546
}
547
547
"rustc-link-lib" => library_links. push ( value. to_string ( ) ) ,
548
548
"rustc-link-search" => library_paths. push ( PathBuf :: from ( value) ) ,
549
- "rustc-cdylib-link-arg" => linker_args. push ( ( Some ( LinkType :: Cdylib ) , value) ) ,
549
+ "rustc-link-arg-cdylib" | "rustc-cdylib-link-arg" => {
550
+ linker_args. push ( ( Some ( LinkType :: Cdylib ) , value) )
551
+ }
550
552
"rustc-link-arg-bins" => {
551
553
if extra_link_arg {
552
554
linker_args. push ( ( Some ( LinkType :: Bin ) , value) ) ;
Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ fn parse_links_overrides(
132
132
. library_paths
133
133
. extend ( list. iter ( ) . map ( |v| PathBuf :: from ( & v. 0 ) ) ) ;
134
134
}
135
- "rustc-cdylib-link-arg" => {
135
+ "rustc-link-arg-cdylib" | "rustc- cdylib-link-arg" => {
136
136
let args = value. list ( key) ?;
137
137
let args = args. iter ( ) . map ( |v| ( Some ( LinkType :: Cdylib ) , v. 0 . clone ( ) ) ) ;
138
138
output. linker_args . extend ( args) ;
You can’t perform that action at this time.
0 commit comments