mirror of https://github.com/status-im/evmc.git
Merge pull request #322 from ethereum/rust-dylib
rust: compile examples for cdylib and not dylib
This commit is contained in:
commit
ac16343b1c
|
@ -176,8 +176,6 @@ jobs:
|
|||
- run:
|
||||
name: Test with evmc-vmtester
|
||||
command: |
|
||||
# FIXME: there is a linking issue with Cargo workspaces, this is to workaround it
|
||||
export LD_LIBRARY_PATH="$(rustc --print sysroot)/lib:$LD_LIBRARY_PATH"
|
||||
~/build/test/evmc-vmtester target/debug/libexamplerustvm.so
|
||||
|
||||
workflows:
|
||||
|
|
|
@ -6,7 +6,7 @@ edition = "2018"
|
|||
|
||||
[lib]
|
||||
name = "examplerustvm"
|
||||
crate-type = ["staticlib", "dylib"]
|
||||
crate-type = ["staticlib", "cdylib"]
|
||||
|
||||
[dependencies]
|
||||
evmc-sys = { path = "../../bindings/rust/evmc-sys" }
|
||||
|
|
Loading…
Reference in New Issue