Skip to content

Commit 4a7dad2

Browse files
authored
ci: add target-cpu=native in bench (#31)
1 parent fff65a9 commit 4a7dad2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/benchmark.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ jobs:
4545

4646
- name: Build benchmark
4747
run: cargo codspeed build --features codspeed
48+
env:
49+
RUSTFLAGS: '-C target-cpu=native'
4850

4951
- name: Run benchmark
5052
uses: CodSpeedHQ/action@v4

0 commit comments

Comments
 (0)