Provide the C WASI implementation as an option.

This adds the C WASI implementation as a new crate, wasmtime-wasi-c,
and adds a command-line flag to the wasmtime command-line driver to
select which WASI implementation to use.
This commit is contained in:
Dan Gohman
2019-05-19 20:17:38 -07:00
parent d57fbc7d0c
commit 06b6ec42b9
39 changed files with 9597 additions and 16 deletions

View File

@@ -0,0 +1,8 @@
cmake_minimum_required(VERSION 3.0)
project(SandboxedSystemPrimitives C)
include_directories(include)
add_library(SandboxedSystemPrimitives STATIC src/posix.c src/random.c src/str.c)
install(TARGETS SandboxedSystemPrimitives DESTINATION .)