From 14b7340bbfd194e450ecb274b469ebe06a4b220b Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Sun, 21 Dec 2025 11:13:57 +0100 Subject: [PATCH] ci: fix path to clippy.toml "container" images using FDo's ci-templates are built in a chroot with different paths, breaking absolute paths and making us have to rely on nobody ever using `cd` or `pushd` anywhere (since we also source every script instead of executing them). Very fragile and I hate it, but it hasn't been fixed yet so here we are. Fixes: 675fe92e78838df5b470 ("ci: read the MSRV from clippy.toml to avoid having too many copies to keep in sync") Part-of: --- .gitlab-ci/container/build-rust.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci/container/build-rust.sh b/.gitlab-ci/container/build-rust.sh index ca7818cfdaa..b21e4fcc856 100644 --- a/.gitlab-ci/container/build-rust.sh +++ b/.gitlab-ci/container/build-rust.sh @@ -12,7 +12,7 @@ section_start rust "Building Rust toolchain" # DEBIAN_BUILD_BASE_TAG # DEBIAN_TEST_BASE_TAG -MINIMUM_SUPPORTED_RUST_VERSION=$(python3 -c 'import tomllib; print(tomllib.load(open("'"$CI_PROJECT_DIR"'/clippy.toml", "rb"))["msrv"])') +MINIMUM_SUPPORTED_RUST_VERSION=$(python3 -c 'import tomllib; print(tomllib.load(open("clippy.toml", "rb"))["msrv"])') # This version number can be bumped freely, to benefit from the latest # diagnostics in CI `build-only` jobs, and for building external CI