os
os copied to clipboard
resurrect bun
-
Revert "Remove bun" This reverts commit 5d1a667ffe00d09b09ecb9fd176d91cd0012fcd0.
-
bun: upgrade to 1.1.20 Signed-off-by: Dimitri John Ledkov [email protected]
Bun requires LLVM 16 (clang is part of LLVM). This version requirement is to match WebKit (precompiled), as mismatching versions will cause memory allocation failures at runtime. In most cases, you can install LLVM through your system package manager:
However, it also needs rust, and currently our LLVM's are not coinstallable. As in LLVM-16 with clang, with LLVM-18 for rust.
Alternative is to rebuild webkit as per https://bun.sh/docs/project/contributing#building-webkit-locally-debug-mode-of-jsc
To have this "guarded" we likely need to:
- make LLVM's 16 & 18 co-installable, by fixing how runtime libraries installed
- compile webkit from scratch (all with matching/latest LLVM across the board)
- fix c-ares packaging to provide CMake files
- #26100