Skip to content

Commit 1390b22

Browse files
committed
ci: fix SIGILL by overriding target-cpu=native in CI
1 parent f868b74 commit 1390b22

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
@@ -40,6 +40,8 @@ env:
4040
CARGO_INCREMENTAL: 0
4141
SCCACHE_GHA_ENABLED: "true"
4242
RUSTC_WRAPPER: "sccache"
43+
# Override .cargo/config.toml target-cpu=native to prevent SIGILL on different runners
44+
CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUSTFLAGS: ""
4345

4446
jobs:
4547
# ===========================================================================

0 commit comments

Comments
 (0)