Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 3d1bd09

Browse files
committedMay 16, 2023
tweak: remove avx2
1 parent 5ebff16 commit 3d1bd09

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed
 

‎.cargo/config.toml

+1-9
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,7 @@
22
incremental = true
33

44
# In all cases, pass --cfg=tokio_unstable for tokio console integration
5-
# See(https://github.com/ChainSafe/forest/pull/2245)
6-
# on x86_64-linux-*, most CPUs support the specified vector instructions, so use those
7-
8-
# Note, rustflags aren't additive, so we can't specify tokio_unstable in `build.rustflags`
9-
# So we use a `cfg(foo)` and `cfg(not(foo))` for our common flags.
10-
[target.'cfg(all(target_arch = "x86_64", target_os = "linux"))']
11-
rustflags = ["--cfg=tokio_unstable", "-Ctarget-feature=+avx2,+fma"]
12-
13-
[target.'cfg(not(all(target_arch = "x86_64", target_os = "linux")))']
5+
# See (https://github.com/ChainSafe/forest/pull/2245)
146
rustflags = ["--cfg=tokio_unstable"]
157

168
[net]

0 commit comments

Comments
 (0)
Please sign in to comment.