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 -Cbitcode-in-rlib. #71323

Merged
merged 4 commits into from
Apr 22, 2020
Merged

Add -Cbitcode-in-rlib. #71323

merged 4 commits into from
Apr 22, 2020

Commits on Apr 22, 2020

  1. Remove an old in-progress comment from a previous PR.

    This comment wasn't supposed to have landed.
    nnethercote committed Apr 22, 2020
    Configuration menu
    Copy the full SHA
    b9f6dfe View commit details
    Browse the repository at this point in the history
  2. Add a new option -Cbitcode-in-rlib.

    It defaults to true, but Cargo will set this to false whenever it can to
    reduce compile times.
    nnethercote committed Apr 22, 2020
    Configuration menu
    Copy the full SHA
    ae322ff View commit details
    Browse the repository at this point in the history
  3. Add a simple test.

    nnethercote committed Apr 22, 2020
    Configuration menu
    Copy the full SHA
    2984799 View commit details
    Browse the repository at this point in the history
  4. Build libstd with -Cbitcode-in-rlib=yes.

    So that the rlibs will work with both LTO and non-LTO builds.
    nnethercote committed Apr 22, 2020
    Configuration menu
    Copy the full SHA
    a105c5c View commit details
    Browse the repository at this point in the history