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 support for building bootloaders using -Zbuild-std #62

Merged
merged 2 commits into from
Jul 17, 2020
Merged

Conversation

phil-opp
Copy link
Member

Bootloaders can opt-in to the new functionality by setting a package.metadata.bootloader.build-std key with a comma-separated string of sysroot crates that should be built. For example, a setting of build-std = "core" results in the build command cargo build -Zbuild-std=core.

If no such key is set, bootimage continues to compile the bootloader using the command cargo xbuild.

Bootloaders can opt-in to the new functionality by setting a `package.metadata.bootloader.build-std` key with a comma-separated string of sysroot crates that should be built. For example, a setting of `build-std = "core"` results in the build command `cargo build -Zbuild-std=core`.

If no such key is set, bootimage continues to compile the bootloader using the command `cargo xbuild`.
@phil-opp phil-opp merged commit 21aa8e4 into master Jul 17, 2020
@bors bors bot deleted the Zbuild-std branch July 17, 2020 07:23
phil-opp added a commit that referenced this pull request Jul 17, 2020
@phil-opp
Copy link
Member Author

Published as v0.8.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant