configure linker via env var insread of .cargo/config.toml
someone might already have a .cargo/config.toml
This commit is contained in:
@@ -1,2 +0,0 @@
|
|||||||
[target.s390x-unknown-linux-gnu]
|
|
||||||
linker = "/usr/bin/s390x-linux-gnu-gcc"
|
|
||||||
1
.github/actions/setup-rust/action.yml
vendored
1
.github/actions/setup-rust/action.yml
vendored
@@ -42,6 +42,7 @@ runs:
|
|||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y gcc-s390x-linux-gnu
|
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
|
- uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user