rust/library
bors 633a3fe36d Auto merge of #135937 - bjorn3:separate_coretests_crate, r=jieyouxu,tgross35
Put the core unit tests in a separate coretests package

Having standard library tests in the same package as a standard library crate has bad side effects. It causes the test to have a dependency on a locally built standard library crate, while also indirectly depending on it through libtest. Currently this works out fine in the context of rust's build system as both copies are identical, but for example in cg_clif's tests I've found it basically impossible to compile both copies with the exact same compiler flags and thus the two copies would cause lang item conflicts.

This PR moves the tests of libcore to a separate package which doesn't depend on libcore, thus preventing the duplicate crates even when compiler flags don't exactly match between building the sysroot (for libtest) and building the test itself. The rest of the standard library crates do still have this issue however.
2025-01-27 03:57:37 +00:00
..
alloc Rollup merge of #135948 - bjorn3:update_emscripten_std_tests, r=Mark-Simulacrum 2025-01-25 23:27:00 -05:00
backtrace@f8cc6ac9ac Bump backtrace to 0.3.75 2025-01-03 20:16:52 -08:00
core Auto merge of #135937 - bjorn3:separate_coretests_crate, r=jieyouxu,tgross35 2025-01-27 03:57:37 +00:00
coretests Actually run the bstr test 2025-01-26 10:45:09 +00:00
panic_abort step cfg(bootstrap) 2024-07-28 14:46:29 -04:00
panic_unwind panic_unwind: add #![warn(unreachable_pub)] 2025-01-20 18:35:32 +01:00
portable-simd Bump stdarch 2024-12-24 19:00:57 +01:00
proc_macro proc_macro: add #![warn(unreachable_pub)] 2025-01-20 18:46:29 +01:00
profiler_builtins compiler & tools dependencies: 2024-12-17 17:41:00 +00:00
rtstartup rtstartup: add #![warn(unreachable_pub)] 2025-01-20 18:35:32 +01:00
rustc-std-workspace-alloc Replace libstd, libcore, liballoc in line comments. 2022-12-30 14:00:42 +01:00
rustc-std-workspace-core update rustc-std-workspace crates 2024-11-04 07:45:15 +01:00
rustc-std-workspace-std
std Auto merge of #136087 - jhpratt:rollup-tam1mzn, r=jhpratt 2025-01-26 12:10:05 +00:00
stdarch@684de0d6fe Bump stdarch 2024-12-24 19:00:57 +01:00
sysroot Make profiler_builtins an optional dependency of sysroot, not std 2024-10-17 22:08:36 +11:00
test Rollup merge of #135948 - bjorn3:update_emscripten_std_tests, r=Mark-Simulacrum 2025-01-25 23:27:00 -05:00
unwind Rollup merge of #131830 - hoodmane:emscripten-wasm-eh, r=workingjubilee 2025-01-06 22:04:13 -05:00
windows_targets Win: Add dbghelp to the list of import libraries 2024-09-06 21:21:49 +00:00
Cargo.lock Put all coretests in a separate crate 2025-01-26 10:26:36 +00:00
Cargo.toml Put all coretests in a separate crate 2025-01-26 10:26:36 +00:00