[quote="posutsai, post:8, topic:7048"] Run `cargo build -target=wasm32-wasi --release` in both runtime and frontend directory. After doing this, libtvm_runtime.a and libtvm_frontend.a are successfully generated under `tvm/rust/target/wasm32-wasi/release/` and cargo is able to find it after specifying path in `build.rs` . [/quote] I'm curious why you need to compile `libtvm_runtime.a` and `libtvm_frontend.a` these two static libraries. From what I know, wasmtime couldn't load several .a static libraries at the same time. I suggest you can call `tvm_runtime::SysModule` to load libweb_resnet18.a, and then compiled the code into test_wasm32.wasm binary file.
Please correct me if I missed something. --- [Visit Topic](https://discuss.tvm.ai/t/how-to-build-runnable-wasm-on-browser/7048/10) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe from these emails, [click here](https://discuss.tvm.ai/email/unsubscribe/49516fc0bf5e2896eb9ed22c29bcbd8e56a2805957da888b69241ab6c70c7d6c).