1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-02 06:40:06 -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

@@ -1,8 +1,6 @@
#!/bin/bash
set -eu
export RUSTFLAGS=--cfg=web_sys_unstable_apis # required for the clipboard API
cargo check --workspace --all-targets --all-features --release
cargo fmt --all -- --check
CARGO_INCREMENTAL=0 cargo clippy --workspace --all-targets --all-features -- -D warnings -W clippy::all #-W clippy::pedantic -W clippy::restriction -W clippy::nursery