From 1e8cc73e660f367aec0b17969859d72960b2d962 Mon Sep 17 00:00:00 2001 From: Rukai Date: Sat, 25 Apr 2020 12:09:03 +1000 Subject: [PATCH] [rs] Add required wasm-bindgen patches to readme --- wgpu/Cargo.toml | 1 + wgpu/README.md | 11 +++++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/wgpu/Cargo.toml b/wgpu/Cargo.toml index 06971ca611..57365350dc 100644 --- a/wgpu/Cargo.toml +++ b/wgpu/Cargo.toml @@ -72,6 +72,7 @@ test = true #gfx-backend-dx11 = { version = "0.5.0", path = "../gfx/src/backend/dx11" } #gfx-descriptor = { version = "0.1.0", path = "../gfx-extras/gfx-descriptor" } #gfx-memory = { version = "0.1.0", path = "../gfx-extras/gfx-memory" } +# Make sure to remove these patches from the README.md when they are are no longer needed wasm-bindgen = { git = "https://github.com/rustwasm/wasm-bindgen" } wasm-bindgen-futures = { git = "https://github.com/rustwasm/wasm-bindgen" } web-sys = { git = "https://github.com/rustwasm/wasm-bindgen" } diff --git a/wgpu/README.md b/wgpu/README.md index 281f894cc8..640610b112 100644 --- a/wgpu/README.md +++ b/wgpu/README.md @@ -55,8 +55,6 @@ Create an `index.html` file into `target/generated` directory and add the follow - - hello-triangle