Skip to content

Commit f228279

Browse files
bjorn3gitbot
authored andcommitted
Put all coretests in a separate crate
1 parent da5a6b9 commit f228279

File tree

160 files changed

+33
-13
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

160 files changed

+33
-13
lines changed

Cargo.lock

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ resolver = "1"
33
members = [
44
"std",
55
"sysroot",
6+
"coretests",
67
]
78

89
exclude = [

core/Cargo.toml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,6 @@ edition = "2021"
1515
test = false
1616
bench = false
1717

18-
[[test]]
19-
name = "coretests"
20-
path = "tests/lib.rs"
21-
22-
[[bench]]
23-
name = "corebenches"
24-
path = "benches/lib.rs"
25-
test = true
26-
27-
[dev-dependencies]
28-
rand = { version = "0.8.5", default-features = false }
29-
rand_xorshift = { version = "0.3.0", default-features = false }
30-
3118
[features]
3219
# Make panics and failed asserts immediately abort without formatting any message
3320
panic_immediate_abort = []

coretests/Cargo.toml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
[package]
2+
name = "coretests"
3+
version = "0.0.0"
4+
license = "MIT OR Apache-2.0"
5+
repository = "https://github.com/rust-lang/rust.git"
6+
description = "Tests for the Rust Core Library"
7+
autotests = false
8+
autobenches = false
9+
edition = "2021"
10+
11+
[lib]
12+
path = "lib.rs"
13+
test = false
14+
bench = false
15+
16+
[[test]]
17+
name = "coretests"
18+
path = "tests/lib.rs"
19+
20+
[[bench]]
21+
name = "corebenches"
22+
path = "benches/lib.rs"
23+
test = true
24+
25+
[dev-dependencies]
26+
rand = { version = "0.8.5", default-features = false }
27+
rand_xorshift = { version = "0.3.0", default-features = false }
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)