Skip to content

Commit

Permalink
only enable feature asm on aarch64
Browse files Browse the repository at this point in the history
  • Loading branch information
dgbo committed Mar 6, 2021
1 parent 778fa63 commit b238a97
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion storage-proofs-porep/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ merkletree = "0.21.0"
mapr = "0.8.0"
num-bigint = "0.2"
num-traits = "0.2"
sha2 = { version = "0.9.3", features = ["compress", "asm"] }
rayon = "1.0.0"
serde = { version = "1.0", features = ["derive"]}
serde_json = "1.0"
Expand All @@ -41,6 +40,11 @@ libc = "0.2"
fdlimit = "0.2.0"
fr32 = { path = "../fr32", default-features = false }

[target."cfg(target_arch = \"aarch64\")".dependencies]
sha2 = { version = "0.9.3", features = ["compress", "asm"] }
[target."cfg(not(target_arch = \"aarch64\"))".dependencies]
sha2 = { version = "0.9.3", features = ["compress"] }

[dev-dependencies]
tempfile = "3"
rand_xorshift = "0.2.0"
Expand Down

0 comments on commit b238a97

Please sign in to comment.