mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-31 13:17:19 -06:00
The constant is used only by the Linux Wayland arms, so on macOS it is dead code and `cargo clippy -p vectorcraft --all-targets -- -D warnings` fails with "constant `TEXT_ONLY` is never used". Gate it with `#[cfg(target_os = "linux")]`, as the `Wayland` variant beside it is.