Skip to content

Commit e98918a

Browse files
committed
fixing toolchain
1 parent 86aeba8 commit e98918a

3 files changed

Lines changed: 11 additions & 1 deletion

File tree

.cargo/config.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[target.aarch64-unknown-linux-musl]
2+
linker = "aarch64-linux-musl-gcc"
3+
4+
[target.x86_64-unknown-linux-musl]
5+
linker = "x86_64-linux-musl-gcc"

.github/workflows/test.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ jobs:
1313
- name: Install Protobuf Compiler
1414
run: sudo apt-get update && sudo apt-get install protobuf-compiler -y
1515

16+
- name: Install Rust Toolchain
17+
uses: dtolnay/rust-toolchain@stable
18+
with:
19+
components: rustfmt, clippy
20+
1621
- name: Set up cargo cache
1722
uses: actions/cache@v4
1823
continue-on-error: false

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
clippy:
2-
cargo clippy
2+
cargo clippy --target=x86_64-unknown-linux-musl --all
33

44
all: clippy
55
cargo build --target=x86_64-unknown-linux-musl --all

0 commit comments

Comments
 (0)