Skip to content

v0.5.2

Choose a tag to compare

@sursaone sursaone released this 26 Oct 04:52
· 7 commits to main since this release

Fixed

  • A native library that fails to load now gets a clear error (#51)
    • spawn() throws bun-pty could not load its native library at <path>: <dlopen error> instead of undefined is not an object (evaluating 'lib.symbols')
    • Importing bun-pty no longer throws when no library file is found either; the error comes from spawn(), and the load failure is still logged at import
    • Typical cause: a bun build --compile binary for musl that shipped the glibc library

Thanks @cat-miaw for the fix.