rustwasm / wasm-pack

📦✨ your favorite rust -> wasm workflow tool!
https://rustwasm.github.io/wasm-pack/
Apache License 2.0
6.11k stars 404 forks source link

Supporting Rust/C libraries #1008

Open joshbenaron opened 3 years ago

joshbenaron commented 3 years ago

💡 Feature description

Compile libraries that depend on some C code to wasm32-unknown-unknown

💻 Basic example

I want to be able to compile SQLite to WASM so I can use it with Internet Computer (IC) - blockchain based cloud compute which requires WASM executables.

I know this isn't simple but I'd love the help in any way possible as this would be a huge step forward for Rust/IC.

HcySunYang commented 2 years ago

I also want to compile a Rust project that uses Quickjs to WASM