Skip to content

Commit 0dc6b7a

Browse files
committed
Always enforce blst portable feature in mithril-stm
As blst now check for Intel ADX instruction set at runtime if this feature is enabled (otherwise there's no runtime check).
1 parent f4cafd6 commit 0dc6b7a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mithril-stm/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ crate-type = ["lib", "cdylib", "staticlib"]
1515

1616
[dependencies]
1717
blake2 = "0.10.6"
18-
blst = { version = "0.3.11" }
18+
# Enforce blst portable feature for runtime detection of Intel ADX instruction set.
19+
blst = { version = "0.3.11", features = ["portable"] }
1920
digest = { version = "0.10.7", features = ["alloc"] }
2021
num-bigint = { version = "0.4.4", optional = true }
2122
num-rational = { version = "0.4.1", optional = true }

0 commit comments

Comments
 (0)