2 ms·
Can Bun be built with musl instead of glibc. How many third party libaries do we need to install to compile Bun from scratch. I get this error: ./build.z
by 1vuio0pswjnm7 4y ago
Can Bun be built with musl instead of glibc. How many third party libaries do we need to install to compile Bun from scratch.
I get this error:
./build.zig:254:17: error: no member named 'isAARCH64' in enum 'std.target.Arch'
if (arch.isAARCH64()) {
^
/usr/lib/zig/std/special/build_runner.zig:170:24: note: referenced here
.ErrorUnion => try root.build(builder),
^
make: *** [Makefile:1010: dev-obj] Error 1
- _ZeD_ 4y agowhy should it? glibc is better in almost any measure over musl
- generichuman 4y agoExcept being able to statically link.
- Jarred 4y agoYou will need the version of Zig used by Bun. It’s a few months old, just before LLVM 13 -> 14 migration https://github.com/oven-sh/zig https://github.com/oven-sh/zig It can be built, but you will also need to compile JSC from bun’s WebKit repo https://GitHub.com/oven-sh/WebKit https://GitHub.com/oven-sh/WebKit