File tree Expand file tree Collapse file tree 1 file changed +0
-29
lines changed Expand file tree Collapse file tree 1 file changed +0
-29
lines changed Original file line number Diff line number Diff line change @@ -17,10 +17,6 @@ mod timer;
17
17
mod training;
18
18
mod utils;
19
19
20
- fn is_try_build ( ) -> bool {
21
- std:: env:: var ( "DIST_TRY_BUILD" ) . unwrap_or_else ( |_| "0" . to_string ( ) ) != "0"
22
- }
23
-
24
20
fn execute_pipeline (
25
21
env : & dyn Environment ,
26
22
timer : & mut Timer ,
@@ -117,14 +113,6 @@ fn execute_pipeline(
117
113
// The previous PGO optimized rustc build and PGO optimized LLVM builds should be reused.
118
114
timer. section ( "Stage 4 (final build)" , |stage| dist. run ( stage) ) ?;
119
115
120
- // After dist has finished, run a subset of the test suite on the optimized artifacts to discover
121
- // possible regressions.
122
- // The tests are not executed for try builds, which can be in various broken states, so we don't
123
- // want to gatekeep them with tests.
124
- if !is_try_build ( ) {
125
- timer. section ( "Run tests" , |_| run_tests ( env) ) ?;
126
- }
127
-
128
116
Ok ( ( ) )
129
117
}
130
118
@@ -146,23 +134,6 @@ fn main() -> anyhow::Result<()> {
146
134
log:: info!( "Contents of `config.toml`:\n {config}" ) ;
147
135
}
148
136
149
- // Skip components that are not needed for try builds to speed them up
150
- if is_try_build ( ) {
151
- log:: info!( "Skipping building of unimportant components for a try build" ) ;
152
- for target in [
153
- "rust-docs" ,
154
- "rustc-docs" ,
155
- "rust-docs-json" ,
156
- "rust-analyzer" ,
157
- "rustc-src" ,
158
- "clippy" ,
159
- "miri" ,
160
- "rustfmt" ,
161
- ] {
162
- build_args. extend ( [ "--exclude" . to_string ( ) , target. to_string ( ) ] ) ;
163
- }
164
- }
165
-
166
137
let mut timer = Timer :: new ( ) ;
167
138
let env = create_environment ( ) ;
168
139
You can’t perform that action at this time.
0 commit comments