Skip to content

Commit

Permalink
Bridge crates default to armv8 feature
Browse files Browse the repository at this point in the history
  • Loading branch information
rubdos committed Aug 3, 2021
1 parent 69b231a commit 1befbb8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions rust/bridge/ffi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ name = "signal_ffi"
crate-type = ["staticlib"]

[features]
default = ["armv8"]
armv8 = ["libsignal-protocol/armv8", "signal-crypto/armv8"]

[dependencies]
Expand Down
1 change: 1 addition & 0 deletions rust/bridge/jni/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ name = "signal_jni"
crate-type = ["cdylib"]

[features]
default = ["armv8"]
armv8 = ["libsignal-protocol/armv8", "signal-crypto/armv8"]

[dependencies]
Expand Down
1 change: 1 addition & 0 deletions rust/bridge/node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ name = "signal_node"
crate-type = ["cdylib"]

[features]
default = ["armv8"]
armv8 = ["libsignal-protocol/armv8", "libsignal-bridge/armv8"]

[dependencies]
Expand Down
1 change: 1 addition & 0 deletions rust/bridge/shared/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ linkme = { version = "0.2.4", optional = true }
signal-neon-futures = { path = "../node/futures", optional = true }

[features]
default = ["armv8"]
ffi = ["libc", "libsignal-bridge-macros/ffi"]
jni = ["jni_crate", "libsignal-bridge-macros/jni"]
node = ["neon", "linkme", "signal-neon-futures", "libsignal-bridge-macros/node"]
Expand Down

0 comments on commit 1befbb8

Please sign in to comment.