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
Several of the tls that ureq relies on require the use of ring, a cryptographic processing package, and ring cannot be compiled under wasm at this time.
➜ make build
EMCC_CFLAGS="-s ERROR_ON_UNDEFINED_SYMBOLS=0 -s MAX_WEBGL_VERSION=2 -s MODULARIZE=1 -s EXPORT_NAME=createRustSkiaModule -s EXPORTED_RUNTIME_METHODS=GL" EMSDK=~/.asdf/installs/emsdk/3.1.46 cargo build --target wasm32-unknown-emscripten
Compiling ring v0.16.20
Compiling ureq v2.8.0
error[E0432]: unresolved import `super::sysrand_chunk`
--> /Users/chen/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ring-0.16.20/src/rand.rs:306:16
|
306 | use super::sysrand_chunk::chunk;
| ^^^^^^^^^^^^^ could not find `sysrand_chunk` in `super`
For more information about this error, try `rustc --explain E0432`.
error: could not compile `ring` (lib) due to previous error
warning: build failed, waiting for other jobs to finish...
make: *** [build] Error 101
Several of the tls that ureq relies on require the use of ring, a cryptographic processing package, and ring cannot be compiled under wasm at this time.
upstream error: briansmith/ring#1568
REPO: https://github.com/StringKe/wasm-error
I tried to modify the implementation of the request, how should I test it locally?
StringKe@a0f4bcc
The text was updated successfully, but these errors were encountered: