Skip to content

Commit 7ec1339

Browse files
committed
try x86_64-unknown-linux-musl with special RUSTFLAGS
1 parent 1345df6 commit 7ec1339

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/test.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
- armv7-unknown-linux-gnueabihf
4747
#- armv7-unknown-linux-musleabihf # "cannot produce cdylib ... as the target `armv7-unknown-linux-musleabihf` does not support these crate types"
4848
- x86_64-unknown-linux-gnu
49-
#- x86_64-unknown-linux-musl # cannot produce cdylib ... as the target `x86_64-unknown-linux-musl` does not support these crate types
49+
- x86_64-unknown-linux-musl # cannot produce cdylib ... as the target `x86_64-unknown-linux-musl` does not support these crate types
5050
- aarch64-unknown-linux-gnu
5151
#- aarch64-unknown-linux-musl # cannot produce cdylib for ... as the target `aarch64-unknown-linux-musl` does not support these crate types
5252
steps:
@@ -66,6 +66,8 @@ jobs:
6666
- run: sudo apt-get install -qq crossbuild-essential-arm64 crossbuild-essential-armhf gcc-arm-linux-gnueabi
6767
- run: rustup target add ${{ matrix.target }}
6868
- run: cargo build --examples --verbose --target ${{ matrix.target }}
69+
env:
70+
RUSTFLAGS: "-C target-feature=-crt-static"
6971
- name: Upload artifacts
7072
uses: actions/upload-artifact@v2
7173
with:

0 commit comments

Comments
 (0)