forked from 1b-agent/opencadstudio-upstream
The v0.7.0 web (GitHub Pages) release failed to compile under --no-default-features. Two symbols leaked into the wasm build: * `solid_section` (SECTION command) used truck-meshalgo directly (`triangulation`/`extract_interference`), but that crate is gated behind the `solid3d` feature which is off on wasm. Gate the function with `#[cfg(feature = "solid3d")]` and add a stub for builds without it, mirroring `solid_model::boolean`. * `register_as_handler` was `#[cfg(not(wasm32))]` while its caller `set_default_app_blocking` was not, so wasm couldn't resolve it. Drop the wasm gate; the existing non-win/lin/mac arm already returns `Ok` on wasm, matching `unregister_handler`. Co-Authored-By: Claude Opus 4.8 <[email protected]>