rust: compile examples for cdylib and not dylib

This avoids the issue of depending on a dynamically linked rust-libstd
This commit is contained in:
Alex Beregszaszi 2019-06-19 02:09:17 +01:00
parent ef2e180dfd
commit 73951327ba
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ edition = "2018"
[lib] [lib]
name = "examplerustvm" name = "examplerustvm"
crate-type = ["staticlib", "dylib"] crate-type = ["staticlib", "cdylib"]
[dependencies] [dependencies]
evmc-sys = { path = "../../bindings/rust/evmc-sys" } evmc-sys = { path = "../../bindings/rust/evmc-sys" }