Skip to content

Trace and strip ssl algo/feature into the minimal features that rustup use. #5007

Description

@Cloud0310

Problem you are trying to solve

We shouldn't build a full feature/algo set with ssl libraries, as we're just using a limited set of algo and features of openssl.
So maybe we can trace down to the minimal used set of openssl.

This would have these benefits:

  1. Better binary size
  2. Less build time
  3. More control over the build system, making sure that issues like Broken x86_64-linux-android build caused by OpenSSL #4979 happen less.

Solution you'd like

Trace the API usage of openssl, finding the minimal features that rustup is using, then we apply the minimal feature set to openssl build, making this possible.

Notes

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions