diff options
| author | Miguel Ojeda <ojeda@kernel.org> | 2024-08-28 01:53:47 +0200 |
|---|---|---|
| committer | Miguel Ojeda <ojeda@kernel.org> | 2024-08-28 01:57:16 +0200 |
| commit | d783b1dabdcf7e61612d9ab7dde35f38251d3736 (patch) | |
| tree | 030a39311755297502a2579dd69a6d6b34b501a7 | |
| parent | 992dd0bbe39fc65257fd9e8bfd21a1d0779ec52e (diff) | |
| download | rust-d783b1dabdcf7e61612d9ab7dde35f38251d3736.tar.gz rust-d783b1dabdcf7e61612d9ab7dde35f38251d3736.zip | |
CI: rfl: switch to a stage 2 build
Apparently tools like `rustfmt` require it in order to find the right `librustc_driver.so` without extra tweaks. Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
| -rwxr-xr-x | src/ci/docker/scripts/rfl-build.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ci/docker/scripts/rfl-build.sh b/src/ci/docker/scripts/rfl-build.sh index 90706a55017..51644f2f47e 100755 --- a/src/ci/docker/scripts/rfl-build.sh +++ b/src/ci/docker/scripts/rfl-build.sh @@ -5,7 +5,7 @@ set -euo pipefail LINUX_VERSION=4c7864e81d8bbd51036dacf92fb0a400e13aaeee # Build rustc, rustdoc and cargo -../x.py build --stage 1 library rustdoc +../x.py build --stage 2 library rustdoc ../x.py build --stage 0 cargo # Install rustup so that we can use the built toolchain easily, and also @@ -16,7 +16,7 @@ sh rustup.sh -y --default-toolchain none source /cargo/env BUILD_DIR=$(realpath ./build) -rustup toolchain link local "${BUILD_DIR}"/x86_64-unknown-linux-gnu/stage1 +rustup toolchain link local "${BUILD_DIR}"/x86_64-unknown-linux-gnu/stage2 rustup default local mkdir -p rfl |
