app_window 0.3.5

Cross-platform window library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash
set -e
WARN_FLAGS="-D warnings"
if [[ " $* " =~ " --relaxed " ]]; then
    WARN_FLAGS=""
fi
# --all-targets: examples and tests are where the platform backends and the
# benchmark live, and a bare `cargo check` never built them.
RUSTFLAGS="$WARN_FLAGS" cargo check --all-targets
# Again with the optional registry on. Without this the `exfiltrate` feature --
# and the `Window`/`Surface` fields it adds -- is never compiled by the gate.
RUSTFLAGS="$WARN_FLAGS" cargo check --all-targets --features exfiltrate