2016-08-14 00:34:27 +02:00
|
|
|
[package]
|
|
|
|
name = "kernel"
|
|
|
|
version = "0.1.0"
|
2016-08-14 02:21:46 +02:00
|
|
|
|
|
|
|
[lib]
|
2016-08-14 22:59:18 +02:00
|
|
|
name = "kernel"
|
2016-08-14 19:45:47 +02:00
|
|
|
path = "kernel/lib.rs"
|
2016-08-14 02:21:46 +02:00
|
|
|
crate-type = ["staticlib"]
|
|
|
|
|
2016-08-14 17:31:35 +02:00
|
|
|
[dependencies]
|
|
|
|
bitflags = "*"
|
2016-08-16 19:04:14 +02:00
|
|
|
spin = "*"
|
2016-09-21 00:23:28 +02:00
|
|
|
syscall = { path = "syscall/" }
|
2016-08-14 17:31:35 +02:00
|
|
|
|
2016-08-19 15:57:24 +02:00
|
|
|
[dependencies.goblin]
|
|
|
|
git = "https://github.com/m4b/goblin.git"
|
|
|
|
default-features = false
|
2016-10-16 21:58:45 +02:00
|
|
|
features = ["elf32", "elf64"]
|
2016-08-19 15:57:24 +02:00
|
|
|
|
2016-08-14 22:59:18 +02:00
|
|
|
[dev-dependencies]
|
|
|
|
arch_test = { path = "arch/test" }
|
|
|
|
|
2016-08-26 01:03:01 +02:00
|
|
|
[target.'cfg(target_arch = "arm")'.dependencies]
|
|
|
|
arch_arm = { path = "arch/arm" }
|
|
|
|
|
2016-08-14 22:59:18 +02:00
|
|
|
[target.'cfg(target_arch = "x86_64")'.dependencies]
|
|
|
|
arch_x86_64 = { path = "arch/x86_64" }
|
|
|
|
|
2016-08-14 02:21:46 +02:00
|
|
|
[profile.dev]
|
2016-08-15 22:34:20 +02:00
|
|
|
panic = "unwind"
|
2016-08-14 02:21:46 +02:00
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
panic = "abort"
|