feat(runtime-c-api) Remove the flag WASM_EMSCRIPTEN_GENERATE_C_API_HEADERS.

This patch removes the `WASM_EMSCRIPTEN_GENERATE_C_API_HEADERS`
flag. Consequently, the C header files will be generated for each
build.

The `generate-c-api-headers` feature is also removed, since it becomes useless.
This commit is contained in:
Ivan Enderlin
2019-03-06 10:39:34 +01:00
parent 7c56d893c2
commit f2997357fc
3 changed files with 9 additions and 26 deletions

View File

@@ -1,7 +1,7 @@
[package]
name = "wasmer-runtime-c-api"
version = "0.2.1"
description = "Wasmer c-api library"
description = "Wasmer C API library"
license = "MIT"
authors = ["The Wasmer Engineering Team <engineering@wasmer.io>"]
repository = "https://github.com/wasmerio/wasmer"
@@ -17,9 +17,4 @@ libc = "0.2"
crate-type = ["cdylib"]
[build-dependencies]
cbindgen = { version = "0.8", optional = true }
[features]
generate-c-api-headers = ["cbindgen"]
cbindgen = "0.8"