#"error: could not compile `mio` (lib) due to 47 previous errors"

1 messages · Page 1 of 1 (latest)

silver dock
#

I encountered the above error when I run "dx serve --platform fullstack". "cargo build" and "cargo run" seems fine though. I wonder if anyone could shed some light on it? Appreciate it~

glacial dove
#

cargo build --target wasm32-unknown-unknown will fail

#

Tokio cannot be compiled to wasm

#

If you have tokio as a dependency for your server, you can make it optional and enable it under the server feature