wasm32-unknown-unknown-openbsd-libc

Crates.iowasm32-unknown-unknown-openbsd-libc
lib.rswasm32-unknown-unknown-openbsd-libc
version0.2.0
sourcesrc
created_at2024-01-09 17:36:26.490201
updated_at2024-01-28 14:48:39.703098
descriptionThe parts of OpenBSD libc that make sense on wasm32-unknown-unknown.
homepage
repositoryhttps://github.com/trevyn/wasm32-unknown-unknown-openbsd-libc
max_upload_size
id1094257
size1,799,540
(trevyn)

documentation

README

wasm32-unknown-unknown-openbsd-libc

A small chunk of OpenBSD's libc, conveniently packaged as a Rust crate.

Created for compiling C code that relies on a reasonable subset of libc to wasm32-unknown-unknown.

[target.wasm32-unknown-unknown.dependencies]
wasm32-unknown-unknown-openbsd-libc = "0.2"

In your build.rs using cc:

cfg.include(std::env::var_os("DEP_WASM32_UNKNOWN_UNKNOWN_OPENBSD_LIBC_INCLUDE").unwrap());

println!("cargo:rustc-link-lib=wasm32-unknown-unknown-openbsd-libc");
Commit count: 0

cargo fmt