diff --git a/crates/re_log_types/src/lib.rs b/crates/re_log_types/src/lib.rs index 7930a731b0c8..59e421127004 100644 --- a/crates/re_log_types/src/lib.rs +++ b/crates/re_log_types/src/lib.rs @@ -371,7 +371,7 @@ pub struct StoreInfo { /// // NOTE: The version comes directly from the decoded RRD stream's header, duplicating it here // would probably only lead to more issues down the line. - #[serde(skip)] + #[cfg_attr(feature = "serde", serde(skip))] pub store_version: Option, } diff --git a/crates/re_viewer/src/app.rs b/crates/re_viewer/src/app.rs index ba35ed9834aa..e18bac3c0297 100644 --- a/crates/re_viewer/src/app.rs +++ b/crates/re_viewer/src/app.rs @@ -983,6 +983,7 @@ impl App { format!("Data source {} has left unexpectedly: {err}", msg.source); #[cfg(not(target_arch = "wasm32"))] + #[cfg(feature = "server")] if err .downcast_ref::() .is_some_and(|e| { diff --git a/rerun_py/build.rs b/rerun_py/build.rs index 3334a14cc094..3d292c55b963 100644 --- a/rerun_py/build.rs +++ b/rerun_py/build.rs @@ -9,6 +9,7 @@ fn main() { && !re_build_tools::is_tracked_env_var_set("RERUN_ALLOW_MISSING_BIN") { #[cfg(target_os = "windows")] + #[allow(clippy::unwrap_used)] let rerun_bin = std::env::current_dir() .unwrap() .join("rerun_sdk/rerun_cli/rerun.exe");