Skip to content

Commit 8121315

Browse files
committed
Remove stdarch submodule checkout
1 parent 7cd9cf4 commit 8121315

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.build);
148146

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

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

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

202200
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
@@ -491,7 +491,7 @@ impl Build {
491491

492492
// Make sure we update these before gathering metadata so we don't get an error about missing
493493
// Cargo.toml files.
494-
let rust_submodules = ["library/backtrace", "library/stdarch"];
494+
let rust_submodules = ["library/backtrace"];
495495
for s in rust_submodules {
496496
build.require_submodule(
497497
s,

0 commit comments

Comments
 (0)