From d3db58227a56361811f3a78933e575de3a826ebf Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Tue, 29 Sep 2026 20:57:45 +0200 Subject: [PATCH] Define the frozen-source symlink limit on Windows so idunn-host builds The constant was unix-only since 9475dfa while its uses are not, so the Windows idunn-host has not compiled since S1. Found installing B3: Raven's actuator (built 2026-09-11) cannot decode the new plan types. Co-Authored-By: Claude Opus 5.5 --- src/drivers.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/drivers.rs b/src/drivers.rs index 400566b..fbf9558 100644 --- a/src/drivers.rs +++ b/src/drivers.rs @@ -68,6 +68,9 @@ struct GitTreeEntry { /// finally closed it. #[cfg(unix)] const FROZEN_SOURCE_SYMLINK_TARGET_LIMIT: usize = libc::PATH_MAX as usize; +/// Windows' long-path limit, in UTF-16 units; the same bound on a symlink blob's size. +#[cfg(not(unix))] +const FROZEN_SOURCE_SYMLINK_TARGET_LIMIT: usize = 32_767; /// F2/F3 layer (b): the only way `materialize_tree_raw` is allowed to obtain /// a directory to write into. `path` must already be a directory this