mirror of
https://github.com/storytold/photocraft.git
synced 2026-10-24 09:57:08 -06:00
FreeBSD (and every other OS without a capture backend) compiles the screen colour picker's stub capture, which never reads monitor placements or builds images. The build warned about the unused ScreenImage import, the never-read Placement fields, find_monitor and count. Compile those only where a capture backend or the tests use them. Seen in the FreeBSD aarch64 CI build; checked with `cargo check -p photocraft --all-targets` on FreeBSD 15.1 aarch64 (no warnings) and macOS.