Skip to content

Commit c5d7021

Browse files
committed
Disable unit tests for stdlib packages that don't contain any
1 parent 5e1ffef commit c5d7021

File tree

5 files changed

+16
-0
lines changed

5 files changed

+16
-0
lines changed

library/rustc-std-workspace-alloc/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ edition = "2024"
99

1010
[lib]
1111
path = "lib.rs"
12+
test = false
13+
bench = false
14+
doc = false
1215

1316
[dependencies]
1417
alloc = { path = "../alloc" }

library/rustc-std-workspace-core/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ edition = "2024"
1111

1212
[lib]
1313
path = "lib.rs"
14+
test = false
15+
bench = false
16+
doc = false
1417

1518
[dependencies]
1619
core = { path = "../core", public = true }

library/rustc-std-workspace-std/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ edition = "2024"
99

1010
[lib]
1111
path = "lib.rs"
12+
test = false
13+
bench = false
14+
doc = false
1215

1316
[dependencies]
1417
std = { path = "../std" }

library/sysroot/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ version = "0.0.0"
66
edition = "2024"
77

88
[lib]
9+
test = false
10+
bench = false
911
# make sure this crate isn't included in public standard library docs
1012
doc = false
1113

library/windows_targets/Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ description = "A drop-in replacement for the real windows-targets crate for use
44
version = "0.0.0"
55
edition = "2024"
66

7+
[lib]
8+
test = false
9+
bench = false
10+
doc = false
11+
712
[features]
813
# Enable using raw-dylib for Windows imports.
914
# This will eventually be the default.

0 commit comments

Comments
 (0)