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

Add a -Zbuild-std-features flag #8490

Merged
merged 1 commit into from
Jul 17, 2020

Commits on Jul 17, 2020

  1. Add a -Zbuild-std-features flag

    This flag is intended to pair with `-Zbuild-std` as necessary to
    configure the features that libstd is built with. This is highly
    unlikely to ever be stabilized in any form (unlike `-Zbuild-std` which
    we'd like to stabilize at some point), but can be useful for
    experimenting with the standard library. For example today it can be
    used to test changes to binary size by disabling backtraces.
    
    My intention is that we won't need a `--no-default-features` equivalent
    for libstd, where after rust-lang/rust#74377 is merged we can
    unconditionally specify default features are disabled but the default
    set of features lists `default`. That way if users want to override the
    list *and* include the default feature, they can just be sure to include
    `default`.
    alexcrichton committed Jul 17, 2020
    Configuration menu
    Copy the full SHA
    1faf5b9 View commit details
    Browse the repository at this point in the history