configure linker via env var insread of .cargo/config.toml

someone might already have a .cargo/config.toml
This commit is contained in:
Skgland
2026-05-24 19:02:59 +02:00
committed by Bennet Bleßmann
parent 19974e580b
commit 1fd9246b16
2 changed files with 2 additions and 3 deletions

View File

@@ -1,2 +0,0 @@
[target.s390x-unknown-linux-gnu]
linker = "/usr/bin/s390x-linux-gnu-gcc"

View File

@@ -42,6 +42,7 @@ runs:
run: |
sudo apt-get update
sudo apt-get install -y gcc-s390x-linux-gnu
echo "CARGO_TARGET_S390X_UNKNOWN_LINUX_GNU_LINKER=s390x-linux-gnu-gcc" >> $GITHUB_ENV
- uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
with: