3 ms·
Bun seems really cool! I had a question about this part: > Bun now works in more Linux environments, including Amazon Linux 2 and builds for Vercel and Cloudfl
by johnnypangs 4y ago
Bun seems really cool! I had a question about this part:
> Bun now works in more Linux environments, including Amazon Linux 2 and builds for Vercel and Cloudflare Pages. (Previously, you might have seen errors like: "version 'GLIBC_2.29' not found")
How would building for Vercel and CF pages work? Like normal but installing the relevant build tools using bun?
- dstaley 4y agoAdditionally, I'd love to see the PR where this change was implemented. I've been trying to convince Zola, a static site generator written in Rust, to support older versions of GLIBC.
- Jarred 4y agoMost of the code is here. It needs some linker config but basically you wrap symbols which depend on too new versions of glibc and dynamically load them or call some other implementation internally https://github.com/oven-sh/bun/blob/main/src/bun.js/bindings/glibc-versions-hack.cpp https://github.com/oven-sh/bun/blob/main/src/bun.js/bindings...
- Jarred 4y agoBun is able to run in these environments now - before it had that glibc error Right now you’d need to download it via curl https://bun.sh/install https://bun.sh/install | bash But we need to make that better