Hey all, I am trying to run a Rust binary that uses threads and am getting an unsupported platform error
fn main() {
std::thread::spawn(move || {
println!("Hello, world from thread!");
})
.join()
.unwrap();
}
Built with:
cargo build --release --target wasm32-wasi
Then in the console I use
$ wget http://localhost:8080/main.wasm
$ ./main.wasm
Hey all, I am trying to run a Rust binary that uses threads and am getting an unsupported platform error
Built with:
Then in the console I use