rust/tests
bors 176e545209 Auto merge of #128534 - bjorn3:split_stdlib_workspace, r=Mark-Simulacrum
Move the standard library to a separate workspace

This ensures that the Cargo.lock packaged for it in the rust-src component is up-to-date, allowing rust-analyzer to run cargo metadata on the standard library even when the rust-src component is stored in a read-only location as is necessary for loading crates.io dependencies of the standard library.

This also simplifies tidy's license check for runtime dependencies as it can now look at all entries in library/Cargo.lock without having to filter for just the dependencies of runtime crates. In addition this allows removing an exception in check_runtime_license_exceptions that was necessary due to the compiler enabling a feature on the object crate which pulls in a dependency not allowed for the standard library.

While cargo workspaces normally enable dependencies of multiple targets to be reused, for the standard library we do not want this reusing to prevent conflicts between dependencies of the sysroot and of tools that are built using this sysroot. For this reason we already use an unstable cargo feature to ensure that any dependencies which would otherwise be shared get a different -Cmetadata argument as well as using separate build dirs.

This doesn't change the situation around vendoring. We already have several cargo workspaces that need to be vendored. Adding another one doesn't change much.

There are also no cargo profiles that are shared between the root workspace and the library workspace anyway, so it doesn't add any extra work when changing cargo profiles.
2024-08-04 18:40:03 +00:00
..
assembly
auxiliary
codegen Auto merge of #128466 - sayantn:stdarch-update, r=tgross35 2024-08-04 02:11:27 +00:00
codegen-units Revert "Rollup merge of #125572 - mu001999-contrib:dead/enhance, r=pnkfelix" 2024-08-03 07:57:31 -04:00
coverage
coverage-run-rustdoc
crashes
debuginfo
incremental
mir-opt Re-enable SimplifyToExp in match_branches. 2024-08-03 10:55:46 +08:00
pretty
run-make Ensure Rustc::print use in rmake tests 2024-08-03 22:36:08 -04:00
run-pass-valgrind
rustdoc Rollup merge of #127921 - spastorino:stabilize-unsafe-extern-blocks, r=compiler-errors 2024-08-03 20:51:51 +02:00
rustdoc-gui
rustdoc-js
rustdoc-js-std
rustdoc-json rustdoc: Add test for impl_trait_in_accos_type 2024-08-01 15:48:22 +00:00
rustdoc-ui
ui Auto merge of #128534 - bjorn3:split_stdlib_workspace, r=Mark-Simulacrum 2024-08-04 18:40:03 +00:00
ui-fulldeps Bless test fallout 2024-08-03 07:57:31 -04:00
COMPILER_TESTS.md