1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-26 22:53:14 -04:00

Make cfg=web_sys_unstable_apis optional, fixing cargo check

This commit is contained in:
Emil Ernerfeldt
2020-12-29 12:42:15 +01:00
parent 46471f930d
commit 650450bc3a
5 changed files with 27 additions and 12 deletions

View File

@@ -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: