Skip to content

Commit 77adc12

Browse files
committed
Remove unused imports in test/mod.rs
1 parent fbca76f commit 77adc12

File tree

1 file changed

+0
-32
lines changed
  • src/bootstrap/src/core/build_steps/test

1 file changed

+0
-32
lines changed

src/bootstrap/src/core/build_steps/test/mod.rs

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -3,38 +3,6 @@
33
//! `./x.py test` (aka [`Kind::Test`]) is currently allowed to reach build steps in other modules.
44
//! However, this contains ~all test parts we expect people to be able to build and run locally.
55
6-
// FIXME(jieyouxu): keeping unused imports here before all test steps are properly split out.
7-
#![expect(unused_imports)]
8-
9-
use std::collections::HashSet;
10-
use std::ffi::{OsStr, OsString};
11-
use std::path::{Path, PathBuf};
12-
use std::{env, fs, iter};
13-
14-
use clap_complete::shells;
15-
16-
use self::test_helpers::{RemoteCopyLibs, prepare_cargo_test, run_cargo_test};
17-
use crate::core::build_steps::compile::run_cargo;
18-
use crate::core::build_steps::doc::DocumentationFormat;
19-
use crate::core::build_steps::llvm::get_llvm_version;
20-
use crate::core::build_steps::synthetic_targets::MirOptPanicAbortSyntheticTarget;
21-
use crate::core::build_steps::tool::{self, SourceType, Tool};
22-
use crate::core::build_steps::toolstate::ToolState;
23-
use crate::core::build_steps::{compile, dist, llvm};
24-
use crate::core::builder::{
25-
self, Alias, Builder, Compiler, Kind, RunConfig, ShouldRun, Step, crate_description,
26-
};
27-
use crate::core::config::TargetSelection;
28-
use crate::core::config::flags::{Subcommand, get_completion};
29-
use crate::utils::build_stamp::{self, BuildStamp};
30-
use crate::utils::exec::{BootstrapCommand, command};
31-
use crate::utils::helpers::{
32-
self, LldThreads, add_rustdoc_cargo_linker_args, dylib_path, dylib_path_var, linker_args,
33-
linker_flags, t, target_supports_cranelift_backend, up_to_date,
34-
};
35-
use crate::utils::render_tests::{add_flags_and_try_run_tests, try_run_tests};
36-
use crate::{CLang, DocTests, GitRepo, Mode, PathSet, envify};
37-
386
mod book_tests;
397
mod bootstrap_self_tests;
408
mod cargotest;

0 commit comments

Comments
 (0)