We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ebff16 commit 3d1bd09Copy full SHA for 3d1bd09
.cargo/config.toml
@@ -2,15 +2,7 @@
2
incremental = true
3
4
# 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")))']
+# See (https://github.com/ChainSafe/forest/pull/2245)
14
rustflags = ["--cfg=tokio_unstable"]
15
16
[net]
0 commit comments