Hi, can I ask for help with wasmtime here?
I never used zulip before, so I'm not sure.
well I think it is, so I'm very naive to WASM and never used it before. Basically, I have a Node.js project that I compiled to wasm with @fastly/js-compute, then I tried executing it with wasmtime
but I'm having errors about missing imports
Error: failed to run main module `main.wasm`
Caused by:
0: failed to instantiate "main.wasm"
1: unknown import: `fastly_http_body::new` has not been defined
How would I go about fixing them?
I'm not very sure how this stuff works.
We are hard at work making these things all interoperable but we aren't there yet. For now you can try Fastly's Viceroy which uses wasmtime internally and provides Fastly-specific imports.
Lann Martin said:
We are hard at work making these things all interoperable but we aren't there yet. For now you can try Fastly's Viceroy which uses wasmtime internally and provides Fastly-specific imports.
Thanks, problem is that can't use viceroy because of licensing problems, and I'm trying to do it with only with wasmtime, not sure how.. tried looking at the source code but I can't find how exactly it's being utilized
can't use viceroy because of licensing problems
Oh? Viceroy appears to use the same Apache 2 license as wasmtime itself...
Oh, I didn't know that.... might be a problem, I'll probably need to look more into the license stuff.
Last updated: Nov 22 2024 at 16:03 UTC