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 <noreply@anthropic.com>
This commit is contained in:
parent
d32395ac99
commit
d3db58227a
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue