Skip to content

Commit 95a5aa7

Browse files
committed
ci: copy from eframe_template
1 parent 8faa9fb commit 95a5aa7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/rust.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@ concurrency:
77
cancel-in-progress: true
88

99
env:
10-
# This is required to enable the web_sys clipboard API which egui_web uses
10+
# --cfg=web_sys_unstable_apis is required to enable the web_sys clipboard API which egui_web uses
1111
# https://rustwasm.github.io/wasm-bindgen/api/web_sys/struct.Clipboard.html
1212
# https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html
13-
RUSTFLAGS: --cfg=web_sys_unstable_apis
13+
RUSTFLAGS: -D warnings --cfg=web_sys_unstable_apis
14+
RUSTDOCFLAGS: -D warnings
1415

1516
jobs:
1617
check:

0 commit comments

Comments
 (0)