Temporary workaround to fix build on macOS (#101)

This commit is contained in:
Jay Oster 2020-07-19 03:29:47 -07:00 committed by GitHub
parent 8190c18241
commit 1191379388
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,6 +24,12 @@ wgpu = "0.5.0"
pollster = "0.2" pollster = "0.2"
ultraviolet = "0.4.6" 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] [dev-dependencies]
pixels-mocks = { path = "pixels-mocks" } pixels-mocks = { path = "pixels-mocks" }
winit = "0.22.0" winit = "0.22.0"