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

chore: update core-graphics-types #297

Merged
merged 1 commit into from
Dec 4, 2023

Conversation

crowlKats
Copy link
Contributor

Fixes weak linking usecase

@cwfitzgerald cwfitzgerald merged commit 3e0f628 into gfx-rs:master Dec 4, 2023
2 checks passed
@crowlKats crowlKats deleted the update-core-graphics-types branch December 4, 2023 08:57
MarijnS95 added a commit to Traverse-Research/metal-rs that referenced this pull request Jul 16, 2024
When the `link` feature was forwarded to `core-graphics-types` in its
update in gfx-rs#297, it wasn't taken
into account that  the feature was enabled by default in
https://github.com/servo/core-foundation-rs/pull/608, leading to the
`link` feature to always remain enabled even if `default-features` are
**disabled** on the `metal` crate.

Disable the `link` feature by default on `core-graphics-types`, and rely
on our (default-enabled) `link` feature to turn it back on from inside
`metal`.
MarijnS95 added a commit to Traverse-Research/metal-rs that referenced this pull request Jul 16, 2024
When the `link` feature was forwarded to `core-graphics-types` in its
update in gfx-rs#297, it wasn't taken
into account that  the feature was enabled by default in
https://github.com/servo/core-foundation-rs/pull/608, leading to the
`link` feature to always remain enabled even if `default-features` are
**disabled** on the `metal` crate.

Disable the `link` feature by default on `core-graphics-types`, and rely
on our (default-enabled) `link` feature to turn it back on from inside
`metal`.
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.

3 participants