Use LLVM 5 for Windows

This commit is contained in:
Syrus
2019-03-07 18:06:47 -08:00
parent 679fdc14c2
commit 671ff09e6a
2 changed files with 16 additions and 11 deletions

View File

@ -7,7 +7,6 @@ edition = "2018"
[dependencies]
wasmer-runtime-core = { path = "../runtime-core", version = "0.2.1" }
wasmparser = "0.28.0"
inkwell = { git = "https://github.com/TheDan64/inkwell", branch = "llvm7-0" }
hashbrown = "0.1.8"
smallvec = "0.6.8"
goblin = "0.0.20"
@ -15,6 +14,12 @@ libc = "0.2.49"
nix = "0.13.0"
capstone = { version = "0.5.0", optional = true }
[target.'cfg(windows)'.dependencies]
inkwell = { git = "https://github.com/TheDan64/inkwell", branch = "llvm5-0" }
[target.'cfg(not(windows))'.dependencies]
inkwell = { git = "https://github.com/TheDan64/inkwell", branch = "llvm7-0" }
[build-dependencies]
cc = "1.0"
lazy_static = "1.2.0"