Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When I use ring on WASM: Error came out with 'Missing import: env.ring_core_0_17_0_alpha_10_LIMBS_add_mod' #1372

Closed
zouxyan opened this issue Sep 1, 2021 · 2 comments

Comments

@zouxyan
Copy link

zouxyan commented Sep 1, 2021

Can ring be used on WASM ?

The code using ring can be complied to .wasm file successfully. But when try to run the .wasm file, the error came out.
M new guy for Rust and WASM. I need a crypto lib of Rust which can be used on WASM.
Any help is appreciated.

@maxcountryman
Copy link

I believe I'm facing a similar issue, altho in my case the error is less descriptive: Uncaught TypeError: Error resolving module specifier “env”. Relative module specifiers must start with “./”, “../” or “/”.

@briansmith
Copy link
Owner

I'm closing this as a duplicate of #918 which is about the more general issue that not all features are provided when targeting wasm32.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants