DenoDDeno
Powered by
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
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
wasmbuild - Using Rust in Deno and Web Apps
An easier way to build Rust for Deno and the Web.
wasmbuild - Using Rust in Deno and Web Apps
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

wasmbuild / speed rust crate vs native deno
foobarFfoobar / help
14mo ago
Deno wasmbuild memory export ?
VinciDiscipleVVinciDisciple / help
3mo ago
Deno wasmbuild memory export ?
VinciDiscipleVVinciDisciple / help
3mo ago