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
error[E0433]: failed to resolve: use of undeclared crate or module `hyper`
--> /Users/npmstudy/.cargo/registry/src/index.crates.io-6f17d22bba15001f/reqwest_wasi-0.11.16/src/async_impl/response.rs:35:30
|
35 | res: hyper::Response<hyper::Body>,
| ^^^^^ use of undeclared crate or module `hyper`
Some errors have detailed explanations: E0412, E0422, E0432, E0433.
For more information about an error, try `rustc --explain E0412`.
error: could not compile `reqwest_wasi` (lib) due to 104 previous errors
warning: build failed, waiting for other jobs to finish...
The text was updated successfully, but these errors were encountered:
I had a similar issue. What I did was, removed EVERYTHING rust related (rustup, rustc, cargo) and then reinstalled rustup, did rustup target add wasm32-wasi, and finally the build proceeded as normal.
Since you mentioned nothing about rustup target add, you should probably do that first before the rest of the stuff mentioned above.
Basically, just make sure you don't have duplicate versions of rust.
I had a similar issue. What I did was, removed EVERYTHING rust related (rustup, rustc, cargo) and then reinstalled rustup, did rustup target add wasm32-wasi, and finally the build proceeded as normal.
Since you mentioned nothing about rustup target add, you should probably do that first before the rest of the stuff mentioned above.
Basically, just make sure you don't have duplicate versions of rust.
The text was updated successfully, but these errors were encountered: