Skip to content

Commit

Permalink
add toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
maksimryndin committed Feb 22, 2024
1 parent b16a7ab commit 6b8bf91
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ jobs:
exit 0
fi
if [ "${{ matrix.target }}" = "aarch64-unknown-linux-gnu" ]; then
sudo apt-get install --no-install-recommends -y g++-aarch64-linux-gnu libc6-dev-arm64-cross
sudo apt-get install --no-install-recommends -y build-essential libclang-dev g++-aarch64-linux-gnu libc6-dev-arm64-cross
fi
- name: Install toolchain
Expand All @@ -179,6 +179,8 @@ jobs:
RUSTFLAGS: '-C target-feature=+crt-static'
CC_aarch64_unknown_linux_gnu: "aarch64-linux-gnu-gcc"
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER: "aarch64-linux-gnu-gcc"
CXX_aarch64_unknown_linux_gnu: "aarch64-linux-gnu-g++"
BINDGEN_EXTRA_CLANG_ARGS: -"-sysroot /usr/aarch64-linux-gnu"
shell: bash
run: |
cargo +stable-${{ matrix.target }} build --verbose --release --target ${{ matrix.target }}
Expand Down

0 comments on commit 6b8bf91

Please sign in to comment.