You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
franziskuskiefer
changed the title
Using evercrypt with Substrate (no_std and target = wasm32-unknown-unknown)
Support wasm32-unknown-unknown
Jul 17, 2021
Thanks for taking a look at evercrypt @vivekvpandya
Currently neither the Rust crate nor hacl* itself supports wasm. hacl* has a separate wasm support (there are JS bindings).
There are two options for supporting wasm
compile the hacl* C to wasm for the Rust wasm target
use the hacl* wasm code generated from kremlin directly in the Rust wasm target
The latter is probably the preferable approach but requires different bindings than evercrypt-sys.
Using evercrypt with Substrate (no_std and target = wasm32-unknown-unknown)
I am trying to build evercrypt-sys with following change to enable
wasm32-unknown-unknown
target .And my build command is: cargo test --target wasm32-unknown-unknown
I am getting following error. (I have glibc-devel package install on my Fedora)
The text was updated successfully, but these errors were encountered: