Add a no-simd feature.

There are problems with SIMD on Android. For details see:
https://github.com/darrenldl/reed-solomon-erasure/issues/28
This commit is contained in:
Andreas Fackler 2018-11-12 09:22:28 +01:00 committed by Nick Sanders
parent 72203fe4c9
commit db28cadbfa
1 changed files with 2 additions and 0 deletions

View File

@ -15,6 +15,8 @@ path = "src/bin/peer_node.rs"
[features]
# Used for debugging memory usage.
exit_upon_epoch_1000 = []
# Disables SIMD in reed-solomon-erasure, which currently doesn't work on Android.
no-simd = ["hbbft/no-simd"]
[dependencies]