File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
issue-107495-archive-permissions Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 33// Check that the `CURRENT_RUSTC_VERSION` placeholder is correctly replaced by the current
44// `rustc` version and the `since` property in feature stability gating is properly respected.
55
6- use run_make_support:: { aux_build , rfs, rustc, source_root} ;
6+ use run_make_support:: { rfs, rustc, source_root} ;
77
88fn main ( ) {
9- aux_build ( ) . input ( "stable.rs" ) . emit ( "metadata" ) . run ( ) ;
9+ rustc ( ) . crate_type ( "lib" ) . input ( "stable.rs" ) . emit ( "metadata" ) . run ( ) ;
1010
1111 let output =
1212 rustc ( ) . input ( "main.rs" ) . emit ( "metadata" ) . extern_ ( "stable" , "libstable.rmeta" ) . run ( ) ;
Original file line number Diff line number Diff line change @@ -4,15 +4,15 @@ use std::path::Path;
44
55#[ cfg( unix) ]
66use run_make_support:: libc;
7- use run_make_support:: { aux_build , rfs } ;
7+ use run_make_support:: { rfs , rustc } ;
88
99fn main ( ) {
1010 #[ cfg( unix) ]
1111 unsafe {
1212 libc:: umask ( 0o002 ) ;
1313 }
1414
15- aux_build ( ) . arg ( "foo.rs" ) . run ( ) ;
15+ rustc ( ) . crate_type ( "lib" ) . arg ( "foo.rs" ) . run ( ) ;
1616 verify ( Path :: new ( "libfoo.rlib" ) ) ;
1717}
1818
You can’t perform that action at this time.
0 commit comments