nervosnetwork / ckb-sdk-rust

Rust SDK for Nervos CKB
MIT License
20 stars 29 forks source link

Compilation to Web Assemby is broken #38

Open phroi opened 1 year ago

phroi commented 1 year ago

See nervosnetwork/blake2b-rs#13, this error is related to: Status of rust+C bindings for wasm targets.

Basically Rust has good support for Web Assembly, but Rust + C code to Web Assembly is a mess.

Good news is most of the Nervos's Rust code is pure Rust, so it could work well in Web Assembly, except very few (I counted exactly two) libraries that are C wrappers.

Do you want a hand with this?

blckngm commented 1 year ago

https://github.com/nervosnetwork/sparse-merkle-tree/issues/48