foobarF
Denoβ€’3y agoβ€’
2 replies
foobar

wasmbuild & rust module path

I try to call some rust modules in a wasm project https://deno.com/blog/wasmbuild

My tree project is

rs_lib
- src
-- core
---sub core


It looks like the compiler doesn't find the right path for module when compiling (rs_lib, lib / deno task wasmbuild).
How works relative/absolute path when compiling ?
512px-WebAssembly_Logo.svg.webp
Deno Blog
An easier way to build Rust for Deno and the Web.
wasmbuild - Using Rust in Deno and Web Apps
Was this page helpful?