Remove native and web compiler warnings

Reuse the application library from the binary entry point instead of compiling the module tree twice. Keep desktop-only transports and caches out of web builds, remove unused test code, and check executable targets in CI.
This commit is contained in:
Hakan Seven committed 2026-09-05 13:21:02 +03:00
1 parent 3253965194
commit de3fe2fdf1
8 files changed
+21 -38

No files matched your search

+1 -2
View File
@@ -538,8 +538,6 @@ pub(super) struct OpenCADStudio {
/// Last time block-usage was flushed to disk (debounce per 2.4).
#[cfg(not(target_arch = "wasm32"))]
block_usage_last_persist: Option<std::time::Instant>,
#[cfg(target_arch = "wasm32")]
block_usage_last_persist: Option<()>,
/// `true` after a bare `VPORTS` in model space — the next command-line
/// entry is treated as the tiled-config option (SIngle/2H/2V/4).
awaiting_vports: bool,
@@ -3354,6 +3352,7 @@ impl OpenCADStudio {
cliprompt_lines: 3,
block_mru: Vec::new(),
block_freq: std::collections::HashMap::new(),
#[cfg(not(target_arch = "wasm32"))]
block_usage_last_persist: None,
awaiting_vports: false,
pending_setvar: None,