Skip to content

Commit a955f13

Browse files
committed
ci: fix SIGILL by overriding target-cpu=native in CI
1 parent ba1967d commit a955f13

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ env:
2222
CARGO_INCREMENTAL: 0
2323
SCCACHE_GHA_ENABLED: "true"
2424
RUSTC_WRAPPER: "sccache"
25+
# Override .cargo/config.toml target-cpu=native to prevent SIGILL on different runners
26+
CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUSTFLAGS: ""
2527

2628
jobs:
2729
# ===========================================================================

0 commit comments

Comments
 (0)