Skip to content

Commit 7373411

Browse files
committed
fix
Signed-off-by: onur-ozkan <[email protected]>
1 parent c2a85f7 commit 7373411

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/bootstrap/src/core/sanity.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@
88
//! In theory if we get past this phase it's a bug if a build fails, but in
99
//! practice that's likely not true!
1010
11-
use std::collections::HashMap;
12-
#[cfg(not(feature = "bootstrap-self-test"))]
13-
use std::collections::HashSet;
11+
use std::collections::{HashMap, HashSet};
1412
use std::ffi::{OsStr, OsString};
1513
use std::path::PathBuf;
1614
use std::{env, fs};
@@ -34,7 +32,6 @@ pub struct Finder {
3432
// it might not yet be included in stage0. In such cases, we handle the targets missing from stage0 in this list.
3533
//
3634
// Targets can be removed from this list once they are present in the stage0 compiler (usually by updating the beta compiler of the bootstrap).
37-
#[cfg(not(feature = "bootstrap-self-test"))]
3835
const STAGE0_MISSING_TARGETS: &[&str] = &[
3936
// just a dummy comment so the list doesn't get onelined
4037
];
@@ -205,7 +202,6 @@ than building it.
205202
.map(|p| cmd_finder.must_have(p))
206203
.or_else(|| cmd_finder.maybe_have("reuse"));
207204

208-
#[cfg(not(feature = "bootstrap-self-test"))]
209205
let stage0_supported_target_list: HashSet<String> = crate::utils::helpers::output(
210206
command(&build.config.initial_rustc).args(["--print", "target-list"]).as_command_mut(),
211207
)

0 commit comments

Comments
 (0)