Skip to content

Commit

Permalink
runtime: Disable default link feature on metal crate
Browse files Browse the repository at this point in the history
Since we're only using a few types from the `metal` crate, this helper
library has no reason or need to link against framework libraries (i.e.
we don't call global static functions on them).  Disable the `link`
feature on the `metal` crate, but note that for now this won't disable
it on the `core-graphics-types` crate until
gfx-rs/metal-rs#330 is merged.
  • Loading branch information
MarijnS95 committed Jul 16, 2024
1 parent ee56bf4 commit c54b995
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ targets = [
]

[dependencies]
metal = "0.29"
metal = { version = "0.29", default-features = false }

0 comments on commit c54b995

Please sign in to comment.