diff --git a/src/app/mod.rs b/src/app/mod.rs index 24048110d..4c27919ed 100644 --- a/src/app/mod.rs +++ b/src/app/mod.rs @@ -1811,7 +1811,9 @@ impl OpenCADStudio { } /// Boot function for `iced::daemon`: returns initial state plus a task that - /// opens the primary application window. + /// opens the primary application window. Native only — the web build uses + /// [`Self::boot_web`]. + #[cfg(not(target_arch = "wasm32"))] fn boot() -> (Self, Task) { use helpers::build_window_icon; // Silently (re)register this binary as a .dwg/.dxf handler so it appears