From 75e82afd355ba56b2f3d6f6384fb40c1cb46f1a4 Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Sun, 3 Apr 2022 16:32:10 -0700 Subject: [PATCH] wgpu-hal: Work around cbindgen bug: ignore `gles::egl` module. (#2576) --- wgpu-hal/src/gles/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/wgpu-hal/src/gles/mod.rs b/wgpu-hal/src/gles/mod.rs index 8c7dde0da..eb62f70d2 100644 --- a/wgpu-hal/src/gles/mod.rs +++ b/wgpu-hal/src/gles/mod.rs @@ -56,6 +56,7 @@ To address this, we invalidate the vertex buffers based on: */ +///cbindgen:ignore #[cfg(any(not(target_arch = "wasm32"), feature = "emscripten"))] mod egl; #[cfg(all(target_arch = "wasm32", not(feature = "emscripten")))]