Put all coretests in a separate crate
This commit is contained in:
parent
c2270becb6
commit
b6a3841942
163 changed files with 37 additions and 17 deletions
|
@ -72,6 +72,10 @@ dependencies = [
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "core"
|
name = "core"
|
||||||
version = "0.0.0"
|
version = "0.0.0"
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "coretests"
|
||||||
|
version = "0.0.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"rand",
|
"rand",
|
||||||
"rand_xorshift",
|
"rand_xorshift",
|
||||||
|
|
|
@ -3,6 +3,7 @@ resolver = "1"
|
||||||
members = [
|
members = [
|
||||||
"std",
|
"std",
|
||||||
"sysroot",
|
"sysroot",
|
||||||
|
"coretests",
|
||||||
]
|
]
|
||||||
|
|
||||||
exclude = [
|
exclude = [
|
||||||
|
|
|
@ -15,19 +15,6 @@ edition = "2021"
|
||||||
test = false
|
test = false
|
||||||
bench = false
|
bench = false
|
||||||
|
|
||||||
[[test]]
|
|
||||||
name = "coretests"
|
|
||||||
path = "tests/lib.rs"
|
|
||||||
|
|
||||||
[[bench]]
|
|
||||||
name = "corebenches"
|
|
||||||
path = "benches/lib.rs"
|
|
||||||
test = true
|
|
||||||
|
|
||||||
[dev-dependencies]
|
|
||||||
rand = { version = "0.8.5", default-features = false }
|
|
||||||
rand_xorshift = { version = "0.3.0", default-features = false }
|
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
# Make panics and failed asserts immediately abort without formatting any message
|
# Make panics and failed asserts immediately abort without formatting any message
|
||||||
panic_immediate_abort = []
|
panic_immediate_abort = []
|
||||||
|
|
27
library/coretests/Cargo.toml
Normal file
27
library/coretests/Cargo.toml
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
[package]
|
||||||
|
name = "coretests"
|
||||||
|
version = "0.0.0"
|
||||||
|
license = "MIT OR Apache-2.0"
|
||||||
|
repository = "https://github.com/rust-lang/rust.git"
|
||||||
|
description = "Tests for the Rust Core Library"
|
||||||
|
autotests = false
|
||||||
|
autobenches = false
|
||||||
|
edition = "2021"
|
||||||
|
|
||||||
|
[lib]
|
||||||
|
path = "lib.rs"
|
||||||
|
test = false
|
||||||
|
bench = false
|
||||||
|
|
||||||
|
[[test]]
|
||||||
|
name = "coretests"
|
||||||
|
path = "tests/lib.rs"
|
||||||
|
|
||||||
|
[[bench]]
|
||||||
|
name = "corebenches"
|
||||||
|
path = "benches/lib.rs"
|
||||||
|
test = true
|
||||||
|
|
||||||
|
[dev-dependencies]
|
||||||
|
rand = { version = "0.8.5", default-features = false }
|
||||||
|
rand_xorshift = { version = "0.3.0", default-features = false }
|
1
library/coretests/lib.rs
Normal file
1
library/coretests/lib.rs
Normal file
|
@ -0,0 +1 @@
|
||||||
|
// Intentionally left empty.
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue