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

Fix build failure when downstream crates attempt to build font-kit on Windows #105

Merged
merged 2 commits into from Nov 24, 2019

Conversation

@Osspial
Copy link
Contributor

Osspial commented Oct 6, 2019

When de6fabc got merged, the dependency that loaded winapi's sysinfoapi feature got removed. This fails builds when attempting to build font-kit downstream (i.e. if you depend on git = "https://github.com/pcwalton/font-kit.git" through Cargo.toml), but it does not fail when you run cargo build within font-kit's folder directly.

I don't know why cargo behaves that way. I assume it's a bug. Still, this fixes that behavior by making the sysinfoapi dependency explicit. For good measure, we make all the other winapi dependency features explicit to ensure this same sort of issue doesn't happen again.

@Osspial Osspial mentioned this pull request Oct 6, 2019
@jrmuizel jrmuizel merged commit 9f8cf83 into servo:master Nov 24, 2019
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.