Files
bun.sh/test/js
Ciro Spaciari MacBook addced7ae6 feat: add native Yoga layout engine bindings
Adds native C++/JSC bindings for Facebook's Yoga flexbox layout engine,
exposed as Bun.Yoga. This is a high-performance alternative to the
yoga-layout npm package's WASM-based implementation.

- Wraps Yoga v3.x C API via JSDestructibleObject/RefCounted pattern
- Full API: Node, Config, all style setters/getters, layout calculation
- All yoga-layout constants (ALIGN_*, FLEX_DIRECTION_*, EDGE_*, etc.)
- Measure, dirtied, and baseline callback support
- GC integration with IsoSubspaces and weak handle owners
- 105 tests with 375 assertions
2026-02-03 16:25:52 -08:00
..