-
-
Notifications
You must be signed in to change notification settings - Fork 108
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
Unresolved "env" dependencies in wasm module #60
Comments
Hiya, I'm not sure if you've managed to make it work as you have closed the issue. But if you haven't, you could try my fork #58 which adds an alternative to Apologies if I'm overstepping. |
Just ran into the same issue, I guess it is caused by the following code: Lines 920 to 925 in 9642f22
I think it should be possible to just replace that in the case of |
…hen using wasm closes issue ramosbugs#60
The ring functionality used to check if the nonce is equal makes uses of a memcpy function imported from the C world. However, this function isn't available when compiling for wasm32. This change uses a simple compare for wasm32, and keeps the current behavior for all other targets. closes issue ramosbugs#60
Hey there!
I a trying to use your library in a software project at our university and switched from your
oauth2
library to this one.Sadly it is not working for me, there are unresolved dependencies which are then mapped to
env
bywasm_bindgen
. Here is the dissassembly by wasm2wat for the relevant sections:I am not experienced in cryptography, but it seems like your library depends on c libraries to handle the cryptography.
I want your library to be used in a SPA, therefore I really would like to bundle all dependencies in. Is there a way?
The text was updated successfully, but these errors were encountered: