diff --git a/.github/workflows/checks.yaml b/.github/workflows/checks.yaml index da69976f1..9048cdde1 100644 --- a/.github/workflows/checks.yaml +++ b/.github/workflows/checks.yaml @@ -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"