File tree 2 files changed +4
-4
lines changed
issue-107495-archive-permissions
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 3
3
// Check that the `CURRENT_RUSTC_VERSION` placeholder is correctly replaced by the current
4
4
// `rustc` version and the `since` property in feature stability gating is properly respected.
5
5
6
- use run_make_support:: { aux_build , rfs, rustc, source_root} ;
6
+ use run_make_support:: { rfs, rustc, source_root} ;
7
7
8
8
fn main ( ) {
9
- aux_build ( ) . input ( "stable.rs" ) . emit ( "metadata" ) . run ( ) ;
9
+ rustc ( ) . crate_type ( "lib" ) . input ( "stable.rs" ) . emit ( "metadata" ) . run ( ) ;
10
10
11
11
let output =
12
12
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;
4
4
5
5
#[ cfg( unix) ]
6
6
use run_make_support:: libc;
7
- use run_make_support:: { aux_build , rfs } ;
7
+ use run_make_support:: { rfs , rustc } ;
8
8
9
9
fn main ( ) {
10
10
#[ cfg( unix) ]
11
11
unsafe {
12
12
libc:: umask ( 0o002 ) ;
13
13
}
14
14
15
- aux_build ( ) . arg ( "foo.rs" ) . run ( ) ;
15
+ rustc ( ) . crate_type ( "lib" ) . arg ( "foo.rs" ) . run ( ) ;
16
16
verify ( Path :: new ( "libfoo.rlib" ) ) ;
17
17
}
18
18
You can’t perform that action at this time.
0 commit comments