Thank you for reply. Yes, I have double check the target in `.cargo/config` and 
it is `wasm32-wasi`. I doubt the linking path issue first as well but error 
still comes out after I add to the path.

To get more specific, when run `cargo build` on 
`tvm/rust/runtime/tests/test_wasm32`, the error is
**command export '__tvm_module_ctx' is not a function**.  I guess I have 
encountered the target mismatch issue previously. If that's the case `rust-lld` 
would display the message similar to `libmy_model.a: archive has no index; run 
ranlib to add one`. Should `__tvm_module_ctx` be defined in main.rs? I have 
totally no idea why the symbol is missing.





---
[Visit 
Topic](https://discuss.tvm.ai/t/how-to-build-runnable-wasm-on-browser/7048/3) 
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/dc68b308e212e2cf45887350c0ec17ca5b74c41fbb2749fe7b22e2241ad7a491).

Reply via email to