This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ use super::build_sysroot;
2
2
use super :: config;
3
3
use super :: path:: { Dirs , RelPath } ;
4
4
use super :: prepare:: GitRepo ;
5
- use super :: rustc_info:: get_host_triple;
6
5
use super :: utils:: { spawn_and_wait, spawn_and_wait_with_input, CargoProject , Compiler } ;
7
6
use super :: SysrootKind ;
8
7
use std:: env;
@@ -230,8 +229,11 @@ pub(crate) fn run_tests(
230
229
target_triple. clone ( ) ,
231
230
) ;
232
231
233
- let runner =
234
- TestRunner :: new ( dirs. clone ( ) , target_compiler, get_host_triple ( ) == target_triple) ;
232
+ let runner = TestRunner :: new (
233
+ dirs. clone ( ) ,
234
+ target_compiler,
235
+ bootstrap_host_compiler. triple == target_triple,
236
+ ) ;
235
237
236
238
BUILD_EXAMPLE_OUT_DIR . ensure_fresh ( dirs) ;
237
239
runner. run_testsuite ( NO_SYSROOT_SUITE ) ;
@@ -252,8 +254,11 @@ pub(crate) fn run_tests(
252
254
target_triple. clone ( ) ,
253
255
) ;
254
256
255
- let runner =
256
- TestRunner :: new ( dirs. clone ( ) , target_compiler, get_host_triple ( ) == target_triple) ;
257
+ let runner = TestRunner :: new (
258
+ dirs. clone ( ) ,
259
+ target_compiler,
260
+ bootstrap_host_compiler. triple == target_triple,
261
+ ) ;
257
262
258
263
if run_base_sysroot {
259
264
runner. run_testsuite ( BASE_SYSROOT_SUITE ) ;
You can’t perform that action at this time.
0 commit comments