-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
feat: use rustls instead of openssl #581
Conversation
97d9097
to
89e4783
Compare
This reverts commit 89e4783.
Tested that the modified workflow works here: https://github.com/matter-labs/anvil-zksync/actions/runs/13171548653 Also, tested that x86_64/aarch64 binaries work fine with bare ubuntu:24.04 container (both |
# Conflicts: # Cargo.lock # Cargo.toml # e2e-tests-rust/Cargo.lock
What 💻
This PR drops openssl from dependency tree in favor of rustls. Needs matter-labs/zksync-era#3568 to be merged first and a subsequent zksync-era release to be cut after that. Opening a PR now so we don't forget about this.
Another important change in this PR is getting rid of cross. IMHO no reason to use it if we are not linking with anything other than glibc (and even that is unnecessary, see my comment in GHA workflow). Also, it is borderline unmaintained as they have been struggling to update their Docker images from
ubuntu:20.04
for many years.Why ✋
Statically linking openssl is error-prone, also anvil uses rustls over openssl too