rust-raspberrypi-OS-tutorials/17_kernel_symbols/kernel/Cargo.toml

59 lines
1.5 KiB
TOML
Raw Normal View History

2022-04-25 21:23:26 +00:00
[package]
name = "mingo"
version = "0.17.0"
authors = ["Andre Richter <andre.o.richter@gmail.com>"]
edition = "2021"
[features]
default = []
bsp_rpi3 = ["tock-registers"]
bsp_rpi4 = ["tock-registers"]
test_build = ["qemu-exit"]
##--------------------------------------------------------------------------------------------------
## Dependencies
##--------------------------------------------------------------------------------------------------
[dependencies]
test-types = { path = "../libraries/test-types" }
debug-symbol-types = { path = "../libraries/debug-symbol-types" }
# Optional dependencies
2022-09-26 21:15:07 +00:00
tock-registers = { version = "0.8.x", default-features = false, features = ["register_types"], optional = true }
2022-04-25 21:23:26 +00:00
qemu-exit = { version = "3.x.x", optional = true }
# Platform specific dependencies
[target.'cfg(target_arch = "aarch64")'.dependencies]
2022-09-26 21:15:07 +00:00
cortex-a = { version = "8.x.x" }
2022-04-25 21:23:26 +00:00
##--------------------------------------------------------------------------------------------------
## Testing
##--------------------------------------------------------------------------------------------------
[dev-dependencies]
test-macros = { path = "../libraries/test-macros" }
# Unit tests are done in the library part of the kernel.
[lib]
name = "libkernel"
test = true
# Disable unit tests for the kernel binary.
[[bin]]
name = "kernel"
path = "src/main.rs"
test = false
# List of tests without harness.
[[test]]
name = "00_console_sanity"
harness = false
[[test]]
name = "02_exception_sync_page_fault"
harness = false
[[test]]
name = "03_exception_restore_sanity"
harness = false