You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there! My question may be related to my issues in #1999
I just naively tried to install this library into my project that uses the "spin" cli tool to build and deploy serverless functions that run on Fermeyon.
When I try to build though I am getting lots of scary errors like this one:
error: Only features sync,macros,io-util,rt,time are supported on wasm.
--> /Users/jim/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.28.1/src/lib.rs:488:1
|
488 | compile_error!("Only features sync,macros,io-util,rt,time are supported on wasm.");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^```
It seems like my "spin build" command under the hood is running this:
```bash
cargo build --target wasm32-wasi --release
So I am wondering... is this library meant to work for the wasm32-wasi build target? Is there something else I can do to easily get it compiling and working correctly?
Thanks!
The text was updated successfully, but these errors were encountered:
Hi there! My question may be related to my issues in #1999
I just naively tried to install this library into my project that uses the "spin" cli tool to build and deploy serverless functions that run on Fermeyon.
When I try to build though I am getting lots of scary errors like this one:
So I am wondering... is this library meant to work for the wasm32-wasi build target? Is there something else I can do to easily get it compiling and working correctly?
Thanks!
The text was updated successfully, but these errors were encountered: