Unable to compile s3 to wasm #1174
-
I know sdk-aws-s3 uses tokio, which could not compile rust to wasm. I still encounter the error[E0432]: unresolved import Should I use aws s3 javascript and link it to rust with wasm-bindgen? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
We have our test running in wasm that uses Make sure to select only allowed cargo features of tokio and disable default features for |
Beta Was this translation helpful? Give feedback.
We have our test running in wasm that uses
aws-sdk-s3
. The contents ofCargo.toml
of that test is programmatically generated here.Make sure to select only allowed cargo features of tokio and disable default features for
aws-sdk-s3
in your Cargo.toml viadefault-features = false