diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 8923a442..930f4645 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -3,10 +3,11 @@ on: [push, pull_request, workflow_dispatch] name: CI env: - # This is required to enable the web_sys clipboard API which egui_web uses + # --cfg=web_sys_unstable_apis 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 + RUSTFLAGS: -D warnings --cfg=web_sys_unstable_apis + RUSTDOCFLAGS: -D warnings jobs: check: