| [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 = "2024" | |
| [lib] | |
| path = "lib.rs" | |
| test = false | |
| bench = false | |
| doc = false | |
| [[test]] | |
| name = "coretests" | |
| path = "tests/lib.rs" | |
| [[bench]] | |
| name = "corebenches" | |
| path = "benches/lib.rs" | |
| test = true | |
| [dev-dependencies] | |
| rand = { version = "0.9.0", default-features = false } | |
| rand_xorshift = { version = "0.4.0", default-features = false } | |
| [lints.rust.unexpected_cfgs] | |
| level = "warn" | |
| check-cfg = [ | |
| # Internal features aren't marked known config by default, we use these to | |
| # gate tests. | |
| 'cfg(target_has_reliable_f16)', | |
| 'cfg(target_has_reliable_f16_math)', | |
| 'cfg(target_has_reliable_f128)', | |
| 'cfg(target_has_reliable_f128_math)', | |
| ] |