mirror of
https://github.com/emilk/egui.git
synced 2026-06-26 22:53:14 -04:00
Minor wgpu-web releated stuff (#1977)
* egui_demo_app: remove wgpu and pollster as direct dependencies * eframe: use same web-sys version as wgpu crate * Make note that web_sys_unstable_apis is required by the wgpu crate * Rename the glow web painter in eframe * Remove trait DummyWebGLConstructor from web_glow_painter.rs * cargo fmt * Fix check.sh
This commit is contained in:
3
.github/workflows/rust.yml
vendored
3
.github/workflows/rust.yml
vendored
@@ -3,7 +3,8 @@ on: [push, pull_request]
|
||||
name: CI
|
||||
|
||||
env:
|
||||
# web_sys_unstable_apis is required to enable the web_sys clipboard API which eframe web uses
|
||||
# web_sys_unstable_apis is required to enable the web_sys clipboard API which eframe web uses,
|
||||
# as well as by the wasm32-backend of the wgpu crate.
|
||||
# https://rustwasm.github.io/wasm-bindgen/api/web_sys/struct.Clipboard.html
|
||||
# https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html
|
||||
RUSTFLAGS: --cfg=web_sys_unstable_apis -D warnings
|
||||
|
||||
Reference in New Issue
Block a user