File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ pub struct Library {
9898 pub frameworks : Vec < String > ,
9999 pub framework_paths : Vec < PathBuf > ,
100100 pub include_paths : Vec < PathBuf > ,
101- pub ld_options : Vec < Vec < String > > ,
101+ pub ld_args : Vec < Vec < String > > ,
102102 pub defines : HashMap < String , Option < String > > ,
103103 pub version : String ,
104104 _priv : ( ) ,
@@ -558,7 +558,7 @@ impl Library {
558558 libs : Vec :: new ( ) ,
559559 link_paths : Vec :: new ( ) ,
560560 include_paths : Vec :: new ( ) ,
561- ld_options : Vec :: new ( ) ,
561+ ld_args : Vec :: new ( ) ,
562562 frameworks : Vec :: new ( ) ,
563563 framework_paths : Vec :: new ( ) ,
564564 defines : HashMap :: new ( ) ,
@@ -698,7 +698,7 @@ impl Library {
698698 let meta = format ! ( "rustc-link-arg=-Wl,{}" , ld_option. join( "," ) ) ;
699699 config. print_metadata ( & meta) ;
700700
701- self . ld_options
701+ self . ld_args
702702 . push ( ld_option. into_iter ( ) . map ( String :: from) . collect ( ) ) ;
703703 }
704704 }
Original file line number Diff line number Diff line change @@ -318,6 +318,6 @@ fn rpath() {
318318 reset ( ) ;
319319 let lib = find ( "rpath" ) . unwrap ( ) ;
320320 assert ! ( lib
321- . ld_options
321+ . ld_args
322322 . contains( & vec![ "-rpath" . to_string( ) , "/usr/local/lib" . to_string( ) , ] ) ) ;
323323}
You can’t perform that action at this time.
0 commit comments