Skip to content

Commit bc75310

Browse files
committed
move src/tools/build_helper into src/build_helper
Signed-off-by: onur-ozkan <work@onurozkan.dev>
1 parent 6b38a15 commit bc75310

File tree

22 files changed

+14
-14
lines changed

22 files changed

+14
-14
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
resolver = "2"
33
members = [
44
"compiler/rustc",
5+
"src/build_helper",
56
"src/etc/test-float-parse",
67
"src/rustc-std-workspace/rustc-std-workspace-core",
78
"src/rustc-std-workspace/rustc-std-workspace-alloc",
89
"src/rustc-std-workspace/rustc-std-workspace-std",
910
"src/rustdoc-json-types",
10-
"src/tools/build_helper",
1111
"src/tools/cargotest",
1212
"src/tools/clippy",
1313
"src/tools/clippy/clippy_dev",

src/bootstrap/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ test = false
4040
cc = "=1.1.22"
4141
cmake = "=0.1.48"
4242

43-
build_helper = { path = "../tools/build_helper" }
43+
build_helper = { path = "../build_helper" }
4444
clap = { version = "4.4", default-features = false, features = ["std", "usage", "help", "derive", "error-context"] }
4545
clap_complete = "4.4"
4646
fd-lock = "4.0"

src/bootstrap/src/core/build_steps/clippy.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ macro_rules! lint_any {
295295

296296
lint_any!(
297297
Bootstrap, "src/bootstrap", "bootstrap";
298-
BuildHelper, "src/tools/build_helper", "build_helper";
298+
BuildHelper, "src/build_helper", "build_helper";
299299
BuildManifest, "src/tools/build-manifest", "build-manifest";
300300
CargoMiri, "src/tools/miri/cargo-miri", "cargo-miri";
301301
Clippy, "src/tools/clippy", "clippy";

src/bootstrap/src/core/build_steps/doc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1030,7 +1030,7 @@ macro_rules! tool_doc {
10301030
// NOTE: make sure to register these in `Builder::get_step_description`.
10311031
tool_doc!(
10321032
BuildHelper,
1033-
"src/tools/build_helper",
1033+
"src/build_helper",
10341034
rustc_tool = false,
10351035
is_library = true,
10361036
crates = ["build_helper"]

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1354,7 +1354,7 @@ impl Step for CrateBuildHelper {
13541354
const ONLY_HOSTS: bool = true;
13551355

13561356
fn should_run(run: ShouldRun<'_>) -> ShouldRun<'_> {
1357-
run.path("src/tools/build_helper")
1357+
run.path("src/build_helper")
13581358
}
13591359

13601360
fn make_run(run: RunConfig<'_>) {
@@ -1372,7 +1372,7 @@ impl Step for CrateBuildHelper {
13721372
Mode::ToolBootstrap,
13731373
host,
13741374
Kind::Test,
1375-
"src/tools/build_helper",
1375+
"src/build_helper",
13761376
SourceType::InTree,
13771377
&[],
13781378
);
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)