@nimbus-sh/runtime-clang
v8.0.1
Published
clang 8.0.1 and wasm-ld for wasm32-wasi, with a wasi-libc sysroot, as a Nimbus runtime package.
Maintainers
Readme
@nimbus-sh/runtime-clang
clang 8.0.1 and wasm-ld for wasm32-wasi, with a wasi-libc sysroot, packaged for Nimbus.
This package is data: the runtime's wasm and support files, content-addressed,
plus the manifest that describes them. It does nothing on its own —
@nimbus-sh/core installs it
into a workspace filesystem and runs it.
npm install @nimbus-sh/core @nimbus-sh/runtime-clangimport { NimbusWorkspace, localFacetHost } from '@nimbus-sh/core';
import clang from '@nimbus-sh/runtime-clang';
const workspace = await NimbusWorkspace.create({
sql, // your SQLite, through the SqlDatabase port
facets: localFacetHost(),
runtimes: [clang],
});Every file is verified against the manifest's SHA-256 before it reaches the
filesystem. The same bytes are served to Cloudflare deployments from R2 by
nimbus install clang, under the same manifest.
Licence
Apache-2.0-with-LLVM-exception. See the bundled LICENSE for the notice and where to find
the full text and corresponding source.
