mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-13 22:25:40 +00:00
76caebebb4
When compiling `wasmer-runtime-c-api` as a dependency of another crate, `rustc` emits this warning: ``` warning: The package `wasmer_runtime_c_api` provides no linkable target. The compiler might raise an error while compiling `foo`. Consider adding 'dylib' or 'rlib' to key `crate-type` in `wasmer_runtime_c_api`'s Cargo.toml. This warning might turn into a hard error in the future. ``` To solve this issue, the `rlib` type has been added to the `crate-type` list.
20 lines
501 B
TOML
20 lines
501 B
TOML
[package]
|
|
name = "wasmer-runtime-c-api"
|
|
version = "0.2.1"
|
|
description = "Wasmer C API library"
|
|
license = "MIT"
|
|
authors = ["The Wasmer Engineering Team <engineering@wasmer.io>"]
|
|
repository = "https://github.com/wasmerio/wasmer"
|
|
edition = "2018"
|
|
readme = "README.md"
|
|
|
|
[dependencies]
|
|
wasmer-runtime = { path = "../runtime", version = "0.2.1" }
|
|
wasmer-runtime-core = { path = "../runtime-core", version = "0.2.1" }
|
|
libc = "0.2"
|
|
|
|
[lib]
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
[build-dependencies]
|
|
cbindgen = "0.8" |