aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack O'Connor <[email protected]>2019-12-08 18:04:59 -0500
committerJack O'Connor <[email protected]>2019-12-08 21:56:10 -0500
commit78191a676fbd2e58fd24e49e019e7d670b5b43ea (patch)
tree4aeeb572ac8d296b2f831f2537bd00eebc6bd1b1
parent1574b488f9bcf2207a9bf5e2763c21630065713a (diff)
feature comments in Cargo.toml
-rw-r--r--Cargo.toml7
1 files changed, 7 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 756703c..fbdd9e7 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -6,7 +6,14 @@ edition = "2018"
[features]
default = ["std"]
+# Like SSE4.1 and AVX2, the AVX-512 implementation uses dynamic feature
+# detection, so a binary with "c_avx512" on is still cross-platform.
c_avx512 = []
+# The NEON implementation does not use dynamic feature detection. If "c_neon"
+# is on, NEON support is assumed. Note that AArch64 always supports NEON, but
+# support on ARMv7 varies. (See also comments about ARMv7 in build.rs. You'll
+# probably need to uncomment some flags there to convince the C compiler to
+# turn on NEON support.)
c_neon = []
std = []