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

Bump ring dependency to 0.16.19 #166

Closed
andrekorol opened this issue Jan 9, 2021 · 2 comments
Closed

Bump ring dependency to 0.16.19 #166

andrekorol opened this issue Jan 9, 2021 · 2 comments

Comments

@andrekorol
Copy link

Bumping ring to 0.16.19 would fix compilation issues on crates that depend on jsonwebtoken as seen on Compilation fails on aarch64-apple-darwin and Build fail on Apple Silicon.

@ephemer
Copy link

ephemer commented Feb 8, 2021

@andrekorol I'm new to rust and blocked by this issue. That said, I can see that rust is already trying to compile ring v0.16.20 without this change and it still errors out:

error[E0432]: unresolved import `super::sysrand_chunk`
   --> /Users/~~~/.cargo/registry/src/github.com-1ecc6299db9ec823/ring-0.16.20/src/rand.rs:306:16
    |
306 |     use super::sysrand_chunk::chunk;
    |                ^^^^^^^^^^^^^ could not find `sysrand_chunk` in `super`

edit: ok never mind. I am building from an M1 Mac, so I thought this was relevant, but I can see that the issue is that I'm building for a wasm target: briansmith/ring#1043 (FYI for others who run into this)

@andrekorol
Copy link
Author

andrekorol commented Feb 9, 2021

@ephemer I'm also building from an M1 Mac and my build that depends on this jsonwebtoken crate only fails before running cargo update. It should be noted that running cargo update solves the problem.

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

2 participants