Skip to content

Commit

Permalink
try x86_64-unknown-linux-musl with special RUSTFLAGS
Browse files Browse the repository at this point in the history
  • Loading branch information
asg017 committed Aug 29, 2023
1 parent 1345df6 commit 7ec1339
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- armv7-unknown-linux-gnueabihf
#- armv7-unknown-linux-musleabihf # "cannot produce cdylib ... as the target `armv7-unknown-linux-musleabihf` does not support these crate types"
- x86_64-unknown-linux-gnu
#- x86_64-unknown-linux-musl # cannot produce cdylib ... as the target `x86_64-unknown-linux-musl` does not support these crate types
- x86_64-unknown-linux-musl # cannot produce cdylib ... as the target `x86_64-unknown-linux-musl` does not support these crate types
- aarch64-unknown-linux-gnu
#- aarch64-unknown-linux-musl # cannot produce cdylib for ... as the target `aarch64-unknown-linux-musl` does not support these crate types
steps:
Expand All @@ -66,6 +66,8 @@ jobs:
- run: sudo apt-get install -qq crossbuild-essential-arm64 crossbuild-essential-armhf gcc-arm-linux-gnueabi
- run: rustup target add ${{ matrix.target }}
- run: cargo build --examples --verbose --target ${{ matrix.target }}
env:
RUSTFLAGS: "-C target-feature=-crt-static"
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
Expand Down

0 comments on commit 7ec1339

Please sign in to comment.