From 7ab4f71b83e29ae2d49ea7e0fc7c9b8567209c08 Mon Sep 17 00:00:00 2001 From: Imbris Date: Mon, 13 Jul 2020 01:08:40 -0400 Subject: [PATCH] Windows cpal conflict fix not released yet so we need to use the git version --- Cargo.lock | 3 +-- Cargo.toml | 4 ++++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5da6a34302..ca9510ff72 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5131,8 +5131,7 @@ dependencies = [ [[package]] name = "winit" version = "0.22.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e4ccbf7ddb6627828eace16cacde80fc6bf4dbb3469f88487262a02cf8e7862" +source = "git+https://github.com/rust-windowing/winit.git?rev=6919c2fb2d45dc4063c9ef52a69d857ed30657c7#6919c2fb2d45dc4063c9ef52a69d857ed30657c7" dependencies = [ "bitflags", "cocoa 0.20.2", diff --git a/Cargo.toml b/Cargo.toml index 277aa6d984..78adb3641e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -72,3 +72,7 @@ debug = false [profile.releasedebuginfo] inherits = 'release' debug = 1 + +# cpal conflict fix isn't released yet +[patch.crates-io] +winit = { git = "https://github.com/rust-windowing/winit.git", rev = "6919c2fb2d45dc4063c9ef52a69d857ed30657c7" }