BSD Ports

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.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDdevel/wasi-libc32 behind since 2026-08-29no data-[email protected]-
FreeBSDdevel/wasi-libc34 newestnone known-[email protected]2026-08-29
DragonFlydevel/wasi-libc25.14 behind since 2026-08-29none known-[email protected]-
HardenedBSDdevel/wasi-libc34 newestno data-[email protected]-
GhostBSDdevel/wasi-libc34 newestno 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

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
FileSizeSHA256
WebAssembly-wasi-libc-wasi-sdk-32_GH0.tar.gz1.637111e+06ea9827495c0f35bca3b3d0a953e854cac112c43bea3196b5a4f7f8fc4704b9a4
WebAssembly-WASI-59cbe14_GH0.tar.gz1620594e36c4add2421b44ccdded83d442d9aadf02ffa8b534d94016fad2bb7b781cc6