Add test architecture
This commit is contained in:
parent
1c9b6361c9
commit
29b6544d8f
1 changed files with 108 additions and 7 deletions
10
Cargo.toml
10
Cargo.toml
|
|
@ -3,15 +3,19 @@ name = "kernel"
|
|||
version = "0.1.0"
|
||||
|
||||
[lib]
|
||||
name = "kernel"
|
||||
path = "kernel/lib.rs"
|
||||
crate-type = ["staticlib"]
|
||||
|
||||
[target.'cfg(target_arch = "x86_64")'.dependencies]
|
||||
arch = { path = "arch/x86_64" }
|
||||
|
||||
[dependencies]
|
||||
bitflags = "*"
|
||||
|
||||
[dev-dependencies]
|
||||
arch_test = { path = "arch/test" }
|
||||
|
||||
[target.'cfg(target_arch = "x86_64")'.dependencies]
|
||||
arch_x86_64 = { path = "arch/x86_64" }
|
||||
|
||||
[profile.dev]
|
||||
panic = "abort"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue