From ed94f56ab4f461f201c1e584ef9f59e3a6ffac9f Mon Sep 17 00:00:00 2001 From: Tpt Date: Sat, 30 Dec 2023 10:49:28 +0100 Subject: [PATCH] Fixes linux aarch64 build --- .github/workflows/artifacts.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/artifacts.yml b/.github/workflows/artifacts.yml index 5e170600..afbf06e9 100644 --- a/.github/workflows/artifacts.yml +++ b/.github/workflows/artifacts.yml @@ -23,7 +23,8 @@ jobs: - run: rustup update && rustup target add aarch64-unknown-linux-gnu - run: | sudo apt update && sudo apt-get install -y g++-aarch64-linux-gnu - echo -e "\n\n[target.aarch64-unknown-linux-gnu]\nlinker = \"aarch64-linux-gnu-gcc\"" >> .cargo/config.toml + mkdir .cargo + echo -e "[target.aarch64-unknown-linux-gnu]\nlinker = \"aarch64-linux-gnu-gcc\"" >> .cargo/config.toml - uses: Swatinem/rust-cache@v2 - run: cargo build --release --no-default-features --features rustls-native working-directory: ./cli