Skip to content

Commit 1948e55

Browse files
committed
use clang to compile the C version in benchmarks
1 parent ceaf25d commit 1948e55

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/bench.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ jobs:
4545
- name: cargo build
4646
run: |
4747
. "$HOME/.cargo/env"
48-
RUSTFLAGS="-Cllvm-args=-enable-dfa-jump-thread" cargo build --target ${{matrix.target}} -p test-libbz2-rs-sys --release --examples
48+
rustc -Vv
49+
clang --version
50+
CC="clang" RUSTFLAGS="-Cllvm-args=-enable-dfa-jump-thread" cargo build --target ${{matrix.target}} -p test-libbz2-rs-sys --release --examples
4951
cp target/${{matrix.target}}/release/examples/decompress .
5052
cp target/${{matrix.target}}/release/examples/compress .
5153
- name: Benchmark

0 commit comments

Comments
 (0)