Skip to content

Commit

Permalink
Add back test for not using libc
Browse files Browse the repository at this point in the history
  • Loading branch information
bjorn3 committed Dec 3, 2024
1 parent 885a636 commit fb4aba8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,15 @@ jobs:
cc -o bzpipe bzpipe.c target/${{matrix.target}}/release/deps/libbz2_rs.so -I ../
./bzpipe < Cargo.toml | ./bzpipe -d > out.txt
cmp -s Cargo.toml out.txt
- name: "cdylib: no stdlib"
env:
LD_LIBRARY_PATH: "target/${{matrix.target}}/release/deps"
working-directory: libbzip2-rs-sys-cdylib
run: |
cargo build --release --target ${{matrix.target}} --no-default-features
cc -DNO_STD -o bzpipe bzpipe.c target/${{matrix.target}}/release/deps/libbz2_rs.so -I ../
./bzpipe < Cargo.toml | ./bzpipe -d > out.txt
cmp -s Cargo.toml out.txt
- name: "staticlib: no stdio"
env:
LD_LIBRARY_PATH: "target/${{matrix.target}}/release/deps"
Expand Down

0 comments on commit fb4aba8

Please sign in to comment.