mirror of
https://github.com/emilk/egui.git
synced 2026-06-27 15:13:12 -04:00
Make cfg=web_sys_unstable_apis optional, fixing cargo check
This commit is contained in:
3
.github/workflows/rust.yml
vendored
3
.github/workflows/rust.yml
vendored
@@ -3,6 +3,9 @@ on: [push, pull_request]
|
||||
name: CI
|
||||
|
||||
env:
|
||||
# This is required to enable the web_sys clipboard API which egui_web uses
|
||||
# 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
|
||||
|
||||
jobs:
|
||||
|
||||
Reference in New Issue
Block a user