From 119137938866b7ca65bc736ddc89378bd9259ab9 Mon Sep 17 00:00:00 2001 From: Jay Oster Date: Sun, 19 Jul 2020 03:29:47 -0700 Subject: [PATCH] Temporary workaround to fix build on macOS (#101) --- Cargo.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 068a9ef..848f5b8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,6 +24,12 @@ wgpu = "0.5.0" pollster = "0.2" ultraviolet = "0.4.6" +# Workaround for build error on macOS +# Remove this when `gfx-backend-metal` is fixed +# See: https://github.com/gfx-rs/gfx/pull/3311 +[target.'cfg(target_os = "macos")'.dependencies] +metal = "=0.18.0" + [dev-dependencies] pixels-mocks = { path = "pixels-mocks" } winit = "0.22.0"