Commit 50b3737
committed
fix: remove target-cpu=native from tracked cargo config
.cargo/config.toml set target-cpu=native for x86_64-unknown-linux-gnu,
causing SIGILL in CI when build scripts compiled with AVX instructions
ran on runners without AVX support. rust-cache amplified this by
sharing binaries across runners with different CPU feature sets.
Move .cargo/ to .gitignore so developers can opt into target-cpu=native
locally without affecting CI builds.1 parent 5cc03e9 commit 50b3737
2 files changed
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
0 commit comments