Files
bun.sh/cmake
Claude Bot 1b390a11b0 Fix build dependency ordering for cppbind.ts
Resolves issue #21434 where Bun fails to build the first time because
it tries to generate C++ → Zig bindings before installing @lezer/cpp.

The cppbind.ts script imports @lezer/cpp, but the CMake build system
was running this script before ensuring that the root-level node_modules
was installed.

Changes:
- Add register_bun_install() call for root directory in BuildBun.cmake
- Make bun-cppbind target depend on root node_modules installation
- This ensures @lezer/cpp is available before cppbind.ts runs

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-28 19:00:57 +00:00
..
2024-11-15 21:01:55 -08:00
2025-07-21 16:26:07 -07:00
2025-05-31 16:21:08 -07:00