lang/wasi-libc - The NetBSD Packages Collection

libc for WebAssembly programs built on top of WASI

WASI Libc is a libc for WebAssembly programs built on top of WASI
system calls. It provides a wide array of POSIX-compatible C APIs,
including support for standard I/O, file I/O, filesystem manipulation,
memory management, time, string, environment variables, program
startup, and many other APIs.

WASI Libc is sufficiently stable and usable for many purposes, as
most of the POSIX-compatible APIs are stable, though it is continuing
to evolve to better align with wasm and WASI.

Build dependencies

lang/clang lang/llvm lang/clang pkgtools/mktools sysutils/findutils devel/gmake pkgtools/cwrappers

Runtime dependencies


Binary packages

NetBSD 10.0aarch64wasi-libc-0.0.0pre20231007nb1.tgz
NetBSD 10.0aarch64wasi-libc-0.0.0pre20220311nb3.tgz
NetBSD 10.0aarch64wasi-libc-0.0.0pre20220311nb3.tgz
NetBSD 10.0aarch64ebwasi-libc-0.0.0pre20220311nb3.tgz
NetBSD 10.0aarch64ebwasi-libc-0.0.0pre20231007nb1.tgz
NetBSD 10.0i386wasi-libc-0.0.0pre20231007nb1.tgz
NetBSD 10.0i386wasi-libc-0.0.0pre20220311nb3.tgz
NetBSD 10.0x86_64wasi-libc-0.0.0pre20231007nb1.tgz
NetBSD 10.0_BETAx86_64wasi-libc-0.0.0pre20220311nb3.tgz
NetBSD 8.0x86_64wasi-libc-0.0.0pre20220311nb3.tgz
NetBSD 8.0x86_64wasi-libc-0.0.0pre20220311nb3.tgz
NetBSD 8.0x86_64wasi-libc-0.0.0pre20231007nb1.tgz
NetBSD 9.0aarch64wasi-libc-0.0.0pre20231007nb1.tgz
NetBSD 9.0aarch64wasi-libc-0.0.0pre20220311nb3.tgz
NetBSD 9.0aarch64wasi-libc-0.0.0pre20220311nb3.tgz
NetBSD 9.0i386wasi-libc-0.0.0pre20220311nb3.tgz
NetBSD 9.0i386wasi-libc-0.0.0pre20231007nb1.tgz
NetBSD 9.0x86_64wasi-libc-0.0.0pre20231007nb1.tgz
NetBSD 9.0x86_64wasi-libc-0.0.0pre20220311nb3.tgz
NetBSD 9.3x86_64wasi-libc-0.0.0pre20220311nb3.tgz
NetBSD 9.3x86_64wasi-libc-0.0.0pre20231007nb1.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options


Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.

Problem reports, updates or suggestions for this package should be reported with send-pr.