Skip to content

docs(path): explain the Bun Rust resolver choice - #325

Merged
steipete merged 1 commit into
mainfrom
codex/bun-rust-rationale
Sep 13, 2026
Merged

steipete merged 1 commit into
mainfrom
codex/bun-rust-rationale

Conversation

@steipete

Copy link
Copy Markdown
Contributor

What Problem This Solves

The Bun resolver comments did not explain why its workaround uses the existing Rust addon or why disabling that addon restores Bun's upstream limitations.

Why This Change Was Made

Document the N-API choice beside the resolver: it works with JIT disabled and avoids a separate FFI bridge for native loading and memory handling. Clarify that native mode off disables the workaround because it belongs to the same optional addon.

User Impact

Source comments only; runtime behavior and public contracts are unchanged. Follows #324. No changelog entry is needed for this explanatory follow-up.

Evidence

Every non-comment line is identical to the merged implementation. git diff --check passes. The implementation's passing Node/Bun checks, platform CI, and stress evidence remain recorded in #324; this comment-only change does not invalidate that proof.

@steipete
steipete requested a review from a team as a code owner September 13, 2026 20:55
@clawsweeper

clawsweeper Bot commented Sep 13, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@steipete
steipete merged commit 1a4c9d9 into main Sep 13, 2026
22 of 23 checks passed
@vincentkoc
vincentkoc deleted the codex/bun-rust-rationale branch September 25, 2026 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant