Skip to content

Commit 8d0c55c

Browse files
committed
Remove test hack for std crates
1 parent 8a195ef commit 8d0c55c

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -451,11 +451,6 @@ fn copy_self_contained_objects(
451451

452452
/// Resolves standard library crates for `Std::run_make` for any build kind (like check, build, clippy, etc.).
453453
pub fn std_crates_for_run_make(run: &RunConfig<'_>) -> Vec<String> {
454-
// FIXME: Extend builder tests to cover the `crates` field of `Std` instances.
455-
if cfg!(test) {
456-
return vec![];
457-
}
458-
459454
let has_alias = run.paths.iter().any(|set| set.assert_single_path().path.ends_with("library"));
460455
let target_is_no_std = run.builder.no_std(run.target).unwrap_or(false);
461456

0 commit comments

Comments
 (0)