Skip to content

Add an option to disable eager initialization of curl #601

@bjorn3

Description

@bjorn3

Initializing curl in turn initializes OpenSSL, which takes up a non-trivial amount of time (~30%) for rustup which rustc even though it is wasted effort when rustup doesn't need to download anything after all. Lazily initializing curl when it actually needs to download something would avoid paying the initialization penalty when not necessary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions