Parent: #66
Bun.Glob#scan with followSymlinks and a cwd with redundant trailing separators (haystack////) hangs/aborts. packages/runtime/src/glob/GlobWalker.zig:919 and :982 compute a symlink work item's entry_start as dir.dir_path.len + 1 from the raw cwd; after the path is joined and normalized it is shorter, so symlink_full_path_z[work_item.entry_start..len] (L804) starts past the end.
Bun fixed this only in Rust (~/Code/bun/src/glob/GlobWalker.rs L1049-1060 and L1133-1145: derive entry_start from the joined path, len - basename.len). Port the same computation to both Zig sites.
Recorded state (dd42b20): js/bun/glob 227 pass / 1 fail (scan handles a cwd with redundant trailing separators when following symlinks); pinned Bun 172/0 on scan.test.ts.