Skip to content

Commit 8ce4fd3

Browse files
committed
move src/tools/build_helper into src/build_helper
Signed-off-by: onur-ozkan <[email protected]>
1 parent 0a29c23 commit 8ce4fd3

File tree

22 files changed

+13
-13
lines changed

22 files changed

+13
-13
lines changed

Diff for: Cargo.toml

+1-1
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",

Diff for: src/bootstrap/Cargo.toml

+1-1
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"

Diff for: src/bootstrap/src/core/build_steps/clippy.rs

+1-1
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";

Diff for: src/bootstrap/src/core/build_steps/doc.rs

+1-1
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"]

Diff for: src/bootstrap/src/core/build_steps/test.rs

+2-2
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.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

Diff for: src/tools/bump-stage0/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ edition = "2021"
77

88
[dependencies]
99
anyhow = "1.0.34"
10-
build_helper = { path = "../build_helper" }
10+
build_helper = { path = "../../build_helper" }
1111
curl = "0.4.38"
1212
indexmap = { version = "2.0.0", features = ["serde"] }
1313
serde = { version = "1.0.125", features = ["derive"] }

Diff for: src/tools/compiletest/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ unified-diff = "0.2.1"
1414
getopts = "0.2"
1515
indexmap = "2.0.0"
1616
miropt-test-tools = { path = "../miropt-test-tools" }
17-
build_helper = { path = "../build_helper" }
17+
build_helper = { path = "../../build_helper" }
1818
tracing = "0.1"
1919
tracing-subscriber = { version = "0.3.3", default-features = false, features = ["fmt", "env-filter", "smallvec", "parking_lot", "ansi"] }
2020
regex = "1.0"

Diff for: src/tools/opt-dist/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "0.1.0"
44
edition = "2021"
55

66
[dependencies]
7-
build_helper = { path = "../build_helper" }
7+
build_helper = { path = "../../build_helper" }
88
env_logger = "0.11"
99
log = "0.4"
1010
anyhow = { version = "1", features = ["backtrace"] }

Diff for: src/tools/run-make-support/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ similar = "2.5.0"
1010
wasmparser = { version = "0.216", default-features = false, features = ["std"] }
1111
regex = "1.8" # 1.8 to avoid memchr 2.6.0, as 2.5.0 is pinned in the workspace
1212
gimli = "0.31.0"
13-
build_helper = { path = "../build_helper" }
13+
build_helper = { path = "../../build_helper" }
1414
serde_json = "1.0"
1515
libc = "0.2"
1616

Diff for: src/tools/rustdoc-gui-test/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "0.1.0"
44
edition = "2021"
55

66
[dependencies]
7-
build_helper = { path = "../build_helper" }
7+
build_helper = { path = "../../build_helper" }
88
compiletest = { path = "../compiletest" }
99
getopts = "0.2"
1010
walkdir = "2"

Diff for: src/tools/suggest-tests/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ edition = "2021"
55

66
[dependencies]
77
glob = "0.3.0"
8-
build_helper = { version = "0.1.0", path = "../build_helper" }
8+
build_helper = { version = "0.1.0", path = "../../build_helper" }

Diff for: src/tools/tidy/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ edition = "2021"
55
autobins = false
66

77
[dependencies]
8-
build_helper = { path = "../build_helper" }
8+
build_helper = { path = "../../build_helper" }
99
cargo_metadata = "0.18"
1010
regex = "1"
1111
miropt-test-tools = { path = "../miropt-test-tools" }

0 commit comments

Comments
 (0)