File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ fn cargo() -> Command {
100
100
}
101
101
}
102
102
103
- fn xargo ( ) -> Command {
103
+ fn xargo_check ( ) -> Command {
104
104
if let Ok ( val) = std:: env:: var ( "XARGO_CHECK" ) {
105
105
// Bootstrap tells us where to find xargo
106
106
Command :: new ( val)
@@ -202,7 +202,7 @@ fn test_sysroot_consistency() {
202
202
}
203
203
204
204
fn xargo_version ( ) -> Option < ( u32 , u32 , u32 ) > {
205
- let out = xargo ( ) . arg ( "--version" ) . output ( ) . ok ( ) ?;
205
+ let out = xargo_check ( ) . arg ( "--version" ) . output ( ) . ok ( ) ?;
206
206
if !out. status . success ( ) {
207
207
return None ;
208
208
}
@@ -376,7 +376,7 @@ path = "lib.rs"
376
376
// Prepare xargo invocation.
377
377
let target = get_arg_flag_value ( "--target" ) ;
378
378
let print_sysroot = !ask_user && has_arg_flag ( "--print-sysroot" ) ; // whether we just print the sysroot path
379
- let mut command = xargo ( ) ;
379
+ let mut command = xargo_check ( ) ;
380
380
command. arg ( "build" ) . arg ( "-q" ) ;
381
381
command. current_dir ( & dir) ;
382
382
command. env ( "RUSTFLAGS" , miri:: miri_default_args ( ) . join ( " " ) ) ;
You can’t perform that action at this time.
0 commit comments