WIP: fix build of tests

This commit is contained in:
Jeremy Soller 2016-11-14 10:45:42 -07:00
parent 86650e4579
commit fa6f976fc5

View file

@ -12,11 +12,6 @@ bitflags = "*"
spin = "*"
redox_syscall = { path = "syscall/" }
[dependencies.goblin]
git = "https://github.com/m4b/goblin.git"
default-features = false
features = ["elf32", "elf64"]
[dev-dependencies]
arch_test = { path = "arch/test" }
@ -26,6 +21,11 @@ arch_arm = { path = "arch/arm" }
[target.'cfg(target_arch = "x86_64")'.dependencies]
arch_x86_64 = { path = "arch/x86_64" }
[target.'cfg(not(test))'.dependencies.goblin]
git = "https://github.com/redox-os/goblin.git"
default-features = false
features = ["elf32", "elf64"]
[profile.dev]
panic = "unwind"