WIP: fix build of tests
This commit is contained in:
parent
86650e4579
commit
fa6f976fc5
10
Cargo.toml
10
Cargo.toml
|
@ -12,11 +12,6 @@ bitflags = "*"
|
||||||
spin = "*"
|
spin = "*"
|
||||||
redox_syscall = { path = "syscall/" }
|
redox_syscall = { path = "syscall/" }
|
||||||
|
|
||||||
[dependencies.goblin]
|
|
||||||
git = "https://github.com/m4b/goblin.git"
|
|
||||||
default-features = false
|
|
||||||
features = ["elf32", "elf64"]
|
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
arch_test = { path = "arch/test" }
|
arch_test = { path = "arch/test" }
|
||||||
|
|
||||||
|
@ -26,6 +21,11 @@ arch_arm = { path = "arch/arm" }
|
||||||
[target.'cfg(target_arch = "x86_64")'.dependencies]
|
[target.'cfg(target_arch = "x86_64")'.dependencies]
|
||||||
arch_x86_64 = { path = "arch/x86_64" }
|
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]
|
[profile.dev]
|
||||||
panic = "unwind"
|
panic = "unwind"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue