Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
dynamo
Commits
819661b3
Unverified
Commit
819661b3
authored
Mar 11, 2026
by
Graham King
Committed by
GitHub
Mar 11, 2026
Browse files
chore: Build for slightly more modern CPUs (#7220)
Signed-off-by:
Graham King
<
grahamk@nvidia.com
>
parent
edd50f64
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
.cargo/config.toml
.cargo/config.toml
+9
-0
No files found.
.cargo/config.toml
View file @
819661b3
...
@@ -4,3 +4,12 @@
...
@@ -4,3 +4,12 @@
[build]
[build]
# tokio-console needs this
# tokio-console needs this
rustflags
=
[
"--cfg"
,
"tokio_unstable"
]
rustflags
=
[
"--cfg"
,
"tokio_unstable"
]
# Target Haswell (2013) era+ machines. That gets us AVX-2
[target.x86_64-unknown-linux-gnu]
rustflags
=
[
"-C"
,
"target-cpu=x86-64-v3"
,
"--cfg"
,
"tokio_unstable"
]
# Target Graviton 2 / Ampere Altra + machines. NEON vector, and LSE atomics.
[target.aarch64-unknown-linux-gnu]
rustflags
=
[
"-C"
,
"target-cpu=neoverse-n1"
,
"--cfg"
,
"tokio_unstable"
]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment