rust/src/tools
bors 6355cd39c8 Auto merge of #145207 - Kobzol:codegen-backend-clif-dist, r=jieyouxu
Ship correct Cranelift library in its dist component

The first commit adds a post-dist UI test to check that Cranelift can be used with the extracted dist x64 Linux archive.

The original codegen copy logic in the Cranelift dist step was a bit redundant, and I didn't notice in https://github.com/rust-lang/rust/pull/144787 that it's copying the codegen backend from the build compiler's sysroot, rather than the target compiler's sysroot. The second commit modifies the logic to directly access the built codegen file (there is no need to search for it in the compiler's sysroot, in fact when you run just `x dist rustc_codegen_cranelift`, it shouldn't "taint" the sysroot with the codegen backend! Which it did before https://github.com/rust-lang/rust/pull/144787) and copy it to the tarball under a normalized name. Thus we get around any similar potential issues in the future, and make previously implicit logic more explicit.

This also fixes running just `x dist rustc_codegen_cranelift` without enabling `cranelift` in `rust.codegen-backends`, which should have been enabled by https://github.com/rust-lang/rust/pull/144787, but it didn't work fully, because the dist step tried to copy the codegen backend from the compiler's sysroot, but it didn't contain the codegen backend if it was not enabled by `rust.codegen-backends`.

Fixes: https://github.com/rust-lang/rust/issues/145201

try-job: dist-x86_64-linux
2025-08-11 16:13:06 +00:00
..
build-manifest Add windows-gnullvm hosts to the manifest 2025-06-26 01:42:44 +02:00
bump-stage0
cargo@840b83a10f Update cargo 2025-07-31 10:03:06 -04:00
cargotest
clippy Constify remaining operators 2025-08-10 01:11:45 -04:00
collect-license-metadata
compiletest Rollup merge of #143093 - lqd:polonius-pre-alpha, r=jackh726 2025-08-10 19:45:46 +10:00
coverage-dump
enzyme@58af4e9e6c update enzyme submodule to handle llvm 21 2025-08-07 16:31:00 -07:00
error_index_generator
features-status-dump
generate-copyright bump cargo_metadata 2025-07-27 12:47:39 +03:00
generate-windows-sys
html-checker
jsondocck Compiletest: Simplify {Html,Json}DocCk directive handling 2025-07-13 16:00:23 +02:00
jsondoclint rustdoc_json: represent generic args consistently. 2025-06-21 13:52:46 +10:00
libcxx-version
linkchecker add --link-targets-dir flag to linkchecker 2025-07-28 11:23:11 +02:00
lint-docs Rollup merge of #143631 - hkBst:update-escaper-2, r=compiler-errors 2025-07-17 10:41:45 +02:00
lld-wrapper
llvm-bitcode-linker
miri Auto merge of #145126 - tgross35:rollup-6w87usd, r=tgross35 2025-08-08 20:53:33 +00:00
miropt-test-tools miropt: move to edition 2024 2025-07-22 15:02:34 +00:00
nix-dev-shell
opt-dist Extract Cranelift component 2025-08-10 20:46:04 +02:00
remote-test-client remote-test-client: Exit code 128 + <signal-number> instead of 3 2025-07-04 20:44:26 +02:00
remote-test-server
replace-version-placeholder
run-make-support Rollup merge of #144931 - dpaoliello:msvc-wholearchive, r=jieyouxu 2025-08-08 12:52:54 +10:00
rust-analyzer remove P 2025-08-09 15:47:01 +08:00
rust-installer Update README.md 2025-06-29 12:29:28 +03:00
rustbook cargo update 2025-08-03 00:27:18 +00:00
rustc-perf@dde879cf10 Update rustc-perf submodule 2025-07-29 16:18:52 +02:00
rustdoc
rustdoc-gui Update browser-ui-test version to 0.21.1 2025-07-03 18:08:23 +02:00
rustdoc-gui-test integrate build_helper::npm into js checks and package.json usage 2025-07-19 14:56:42 -05:00
rustdoc-js Update rustdoc search tester to new alias output 2025-07-16 14:27:22 +02:00
rustdoc-themes
rustfmt remove P 2025-08-09 15:47:01 +08:00
test-float-parse Remove uncessary parens in closure body with unused lint 2025-07-10 09:25:56 +08:00
tidy Rollup merge of #141624 - jyn514:env-var-stubs, r=BoxyUwU 2025-08-10 19:45:45 +10:00
tier-check tiercheck: edition 2024 2025-07-14 08:30:27 +00:00
unicode-table-generator unicode-table-gen: more clippy fixes 2025-07-18 15:03:43 +00:00
unstable-book-gen Rollup merge of #141624 - jyn514:env-var-stubs, r=BoxyUwU 2025-08-10 19:45:45 +10:00
wasm-component-ld Update wasm-component-ld to 0.5.14 2025-06-24 15:59:35 -07:00
x x: use let-else 2025-07-11 05:38:05 +00:00
cherry-pick.sh
publish_toolstate.py