From 7a9816ff12070186e22d35a4b9c7099e3dce495c Mon Sep 17 00:00:00 2001 From: Ivan Enderlin Date: Thu, 7 Mar 2019 10:19:02 +0100 Subject: [PATCH] feat(runtime-c-api) Ask `rustc` to generate a static library. This is required to correctly link to the embedded runtime. --- lib/runtime-c-api/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/runtime-c-api/Cargo.toml b/lib/runtime-c-api/Cargo.toml index f4908f29a..201c400a0 100644 --- a/lib/runtime-c-api/Cargo.toml +++ b/lib/runtime-c-api/Cargo.toml @@ -14,7 +14,7 @@ wasmer-runtime-core = { path = "../runtime-core", version = "0.2.1" } libc = "0.2" [lib] -crate-type = ["cdylib", "rlib"] +crate-type = ["cdylib", "rlib", "staticlib"] [build-dependencies] cbindgen = "0.8" \ No newline at end of file