devel/wasi-libc 32 MidnightBSD
C standard library for WebAssembly System Interface
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- Apache-2.0, mit, LLVM2
- Categories
- devel
Description
libc/sysroot for WASI (WebAssembly System Interface)
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.
In the other systems
The newest version among them is 34, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| MidnightBSD | devel/wasi-libc | 32 behind since 2026-08-29 | no data | - | [email protected] | - |
| FreeBSD | devel/wasi-libc | 34 newest | none known | - | [email protected] | 2026-08-29 |
| DragonFly | devel/wasi-libc | 25.14 behind since 2026-08-29 | none known | - | [email protected] | - |
| HardenedBSD | devel/wasi-libc | 34 newest | no data | - | [email protected] | - |
| GhostBSD | devel/wasi-libc | 34 newest | no data | - | [email protected] | - |
Install
Binary package:
mport install wasi-libc${FLAVORS:[1]}
From mports:
cd /usr/mports/devel/wasi-libc && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= wasi-libc${FLAVORS:[1]}>0:devel/wasi-libc
Dependency graph
Ports that need it on the left, what it needs to run on the right (to build, as it needs nothing to run); at most 8 of each. "Dependencies" below lists them all.
Dependencies
As this port's Makefile names them.
Build 1
bash: shells/bash
Build dependencies 1
Required by 1
Configuration
No options to configure.
- USES
- cmake llvm:${FLAVORS:[1]}
- Service scripts
- none
- Conflicts with
- wasi-libc[0-9]*
Files
distinfo 2
| File | Size | SHA256 |
|---|---|---|
| WebAssembly-wasi-libc-wasi-sdk-32_GH0.tar.gz | 1.637111e+06 | ea9827495c0f35bca3b3d0a953e854cac112c43bea3196b5a4f7f8fc4704b9a4 |
| WebAssembly-WASI-59cbe14_GH0.tar.gz | 162059 | 4e36c4add2421b44ccdded83d442d9aadf02ffa8b534d94016fad2bb7b781cc6 |