Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,10 @@ rustflags = ["-C", "control-flow-guard"]
# by setting RUSTFLAGS in the enviornment: RUSTFLAGS="-C target-cpu=x86-64"
[target.'cfg(target_arch="x86_64")']
rustflags = ["-C", "target-cpu=x86-64-v3"]

# If running on an Aarch64 CPU, this enables the `neon` and `dotprod`.
#
# Generally speaking, CPUs like Apple M-series and Graviton 2+ will support `dotprod`, so
# enabling this seems acceptable.
[target.'cfg(target_arch="aarch64")']
rustflags = ["-C", "target-feature=+neon,+dotprod"]
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@ jobs:
os:
- windows-latest
- ubuntu-latest
- ubuntu-24.04-arm

steps:
- uses: actions/checkout@v4
Expand Down
Loading
Loading