Skip to content

Commit 3b6d0c1

Browse files
committed
Remove stdarch submodule checkout
1 parent f59d072 commit 3b6d0c1

File tree

4 files changed

+1
-7
lines changed

4 files changed

+1
-7
lines changed

src/bootstrap/src/core/build_steps/check.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,6 @@ impl Step for Std {
8484
return;
8585
}
8686

87-
builder.require_submodule("library/stdarch", None);
88-
8987
let stage = self.custom_stage.unwrap_or(builder.top_stage);
9088

9189
let target = self.target;

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,6 @@ impl Step for Std {
141141
}
142142

143143
fn run(self, builder: &Builder<'_>) {
144-
builder.require_submodule("library/stdarch", None);
145-
146144
let target = self.target;
147145
let compiler = builder.compiler(builder.top_stage, builder.config.host_target);
148146

src/bootstrap/src/core/build_steps/compile.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,6 @@ impl Step for Std {
196196
return;
197197
}
198198

199-
builder.require_submodule("library/stdarch", None);
200-
201199
let mut target_deps = builder.ensure(StartupObjects { compiler, target });
202200

203201
let compiler_to_use = builder.compiler_for(compiler.stage, compiler.host, target);

src/bootstrap/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ impl Build {
510510

511511
// Make sure we update these before gathering metadata so we don't get an error about missing
512512
// Cargo.toml files.
513-
let rust_submodules = ["library/backtrace", "library/stdarch"];
513+
let rust_submodules = ["library/backtrace"];
514514
for s in rust_submodules {
515515
build.require_submodule(
516516
s,

0 commit comments

Comments
 (0)