Alex Beregszaszi 73951327ba rust: compile examples for cdylib and not dylib
This avoids the issue of depending on a dynamically linked rust-libstd
2019-06-19 02:09:20 +01:00

15 lines
398 B
TOML

[package]
name = "example-rust-vm"
version = "0.1.0"
authors = ["Alex Beregszaszi <alex@rtfs.hu>", "Jake Lang <jak3lang@gmail.com>"]
edition = "2018"
[lib]
name = "examplerustvm"
crate-type = ["staticlib", "cdylib"]
[dependencies]
evmc-sys = { path = "../../bindings/rust/evmc-sys" }
evmc-vm = { path = "../../bindings/rust/evmc-vm" }
evmc-declare = { path = "../../bindings/rust/evmc-declare" }