Parent
Confirmed divergence
js/bun/resolve/resolve-error.test.ts aborts Home on import(":://filesystem") with Invalid cache key "::/". The active bun.strings.withoutTrailingSlashWindowsPath copy lacks the POSIX short-circuit present in Bun's live Rust and in Home's two sibling path implementations. On POSIX, "::/" must normalize to "::"; retaining the slash violates the resolver cache-key invariant.
Scope
- Port Bun live Rust's
cfg!(unix)guard intopackages/runtime/src/strings.zig. - Add focused host-semantics regression coverage.
- Verify the corpus file against a fresh runtime build before closing.
This is a direct semantic port, not a test or resolver workaround.