From c54b9952096d75ec049697ee410d747a54e0b2f1 Mon Sep 17 00:00:00 2001 From: Marijn Suijten Date: Tue, 16 Jul 2024 11:30:22 +0200 Subject: [PATCH] runtime: Disable default `link` feature on `metal` crate 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 https://github.com/gfx-rs/metal-rs/pull/330 is merged. --- runtime/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index e640c30..01e66ed 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -20,4 +20,4 @@ targets = [ ] [dependencies] -metal = "0.29" +metal = { version = "0.29", default-features = false }