News for hackers. Stuff that matters.
Re:Bun v0.7.0 by LAC-Tech on Saturday July 22, 2023 @05:09AM (#36824666)
Doesn't work on my system unfortunately (WSL 2)

    LAPTOP-162NUQO7:~$ curl -fsSL https://bun.sh/install | bash
    ######################################################################## 100.0%
    bun was installed successfully to ~/.bun/bin/bun

    Manually add the directory to ~/.bashrc (or similar):
      export BUN_INSTALL="$HOME/.bun"
      export PATH="$BUN_INSTALL/bin:$PATH"

    To get started, run:

      bun --help
    LAPTOP-162NUQO7:~$ ~/.bun/bin/bun
    Error relocating /home/lewis/.bun/bin/bun: unsupported relocation type 37
    Error relocating /home/lewis/.bun/bin/bun: unsupported relocation type 37
    Error relocating /home/lewis/.bun/bin/bun: unsupported relocation type 37
Re:Bun v0.7.0 by Jarred on Saturday July 22, 2023 @05:17AM (#36824709)
That’s an interesting error I haven’t seen before. Are you on the latest Linux kernel for WSL2? Is this WSL2 x64 or arm64?

Are you using musl by chance? Bun requires glibc 2.29+

Re:Bun v0.7.0 by LAC-Tech on Saturday July 22, 2023 @05:35AM (#36824810)
Yes I'm using musl. Alpine Linux in WSL2.
Re:Bun v0.7.0 by foo_bar_2000 on Saturday July 22, 2023 @08:04AM (#36825510)
All alpine users should already know this

https://wiki.alpinelinux.org/wiki/Running_glibc_programs

Re:Bun v0.7.0 by LAC-Tech on Saturday July 22, 2023 @04:22PM (#36829520)
Node.js works fine, the rustup script correctly determines I'm on a musl system and gives me the right binary.