mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-29 12:17:14 -06:00
`cargo build -p vectorcraft` on macOS stops with nine E0433 errors: app.rs and host_services.rs use `mac_menu`, `mac_window`, `open_documents`, `gpu`, `mac_save_format`, `mac_tablet` and `mac_screen_color` without importing them since those items moved out of main.rs. The two files now import them under the same cfg as the code that uses them. `cargo clippy -p vectorcraft --all-targets -- -D warnings` on macOS then stops at the wildcard import in clipboard.rs's macOS module, which now names the two items it uses. Other platforms compile the same code as before.