From ea5292c94a9db46583ccfb722c509a3a4b29453e Mon Sep 17 00:00:00 2001 From: Higgs32584 Date: Mon, 26 Oct 2026 23:09:30 -0400 Subject: [PATCH] fix(engine): gate the temp-name symlink test to unix `save_fails_upfront_when_the_temp_name_is_taken` calls `std::os::unix::fs::symlink` but was only gated on non-wasm, so the engine crate's lib tests did not compile on Windows. Gate it `cfg(unix)` like the neighbouring permissions test. Co-Authored-By: Claude Opus 5.5 --- crates/engine/src/io/tests.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/engine/src/io/tests.rs b/crates/engine/src/io/tests.rs index 48c8e130e..130b1a6d9 100644 --- a/crates/engine/src/io/tests.rs +++ b/crates/engine/src/io/tests.rs @@ -19,6 +19,7 @@ fn copied(wb: &Workbook, range: &str) -> String { } #[cfg(not(target_arch = "wasm32"))] +#[cfg(unix)] #[test] fn save_fails_upfront_when_the_temp_name_is_taken() { // Another local user who can write the directory must not be able to point the