File tree Expand file tree Collapse file tree 3 files changed +5
-9
lines changed Expand file tree Collapse file tree 3 files changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -233,7 +233,8 @@ than building it.
233
233
}
234
234
235
235
// Ignore fake targets that are only used for unit tests in bootstrap.
236
- if cfg ! ( not( feature = "bootstrap-self-test" ) ) && !skip_target_sanity {
236
+ if cfg ! ( not( feature = "bootstrap-self-test" ) ) && !skip_target_sanity && !build. local_rebuild
237
+ {
237
238
let mut has_target = false ;
238
239
let target_str = target. to_string ( ) ;
239
240
Original file line number Diff line number Diff line change 68
68
# - not running `opt-dist`'s post-optimization smoke tests on the resulting toolchain
69
69
#
70
70
# If you *want* these to happen however, temporarily uncomment it before triggering a try build.
71
- DIST_TRY_BUILD : 1
71
+ # DIST_TRY_BUILD: 1
72
72
73
73
auto :
74
74
<< : *production
Original file line number Diff line number Diff line change @@ -67,6 +67,7 @@ change-id = 115898
67
67
[build]
68
68
rustc = "{rustc}"
69
69
cargo = "{cargo}"
70
+ local-rebuild = true
70
71
71
72
[target.{host_triple}]
72
73
llvm-config = "{llvm_config}"
@@ -102,13 +103,7 @@ llvm-config = "{llvm_config}"
102
103
for test_path in env. skipped_tests ( ) {
103
104
args. extend ( [ "--skip" , test_path] ) ;
104
105
}
105
- cmd ( & args)
106
- . env ( "COMPILETEST_FORCE_STAGE0" , "1" )
107
- // Above we override the stage 0 compiler with previously compiled compiler,
108
- // which can cause confusion in bootstrap's target sanity checks.
109
- . env ( "BOOTSTRAP_SKIP_TARGET_SANITY" , "1" )
110
- . run ( )
111
- . context ( "Cannot execute tests" )
106
+ cmd ( & args) . env ( "COMPILETEST_FORCE_STAGE0" , "1" ) . run ( ) . context ( "Cannot execute tests" )
112
107
}
113
108
114
109
/// Tries to find the version of the dist artifacts (either nightly, beta, or 1.XY.Z).
You can’t perform that action at this time.
0 commit comments