gfx-rs / metal-rs

Rust bindings for Metal
Apache License 2.0
567 stars 112 forks source link

Disable default `link` feature on `core-graphics-types` #330

Closed MarijnS95 closed 1 month ago

MarijnS95 commented 1 month ago

When the link feature was forwarded to core-graphics-types in its update in https://github.com/gfx-rs/metal-rs/pull/297, it wasn't taken into account that the feature was enabled by default in https://togithub.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.