rust-kernel/Cargo.toml

36 lines
No EOL
650 B
TOML

[package]
name = "rust-kernel"
version = "0.1.0"
edition = "2024"
authors = ["Ahmed Nagi"]
[profile.dev]
# panic = "abort"
[profile.release]
panic = "abort"
[[bin]]
name = "rust-kernel"
test = true
bench = false
[package.metadata.bootimage]
test-args = [
"-device", "isa-debug-exit,iobase=0xf4,iosize=0x04", "-serial", "stdio",
"-display", "none"
]
test-success-exit-code = 33
test-timeout = 300 # (in seconds)
[[test]]
name = "should_panic"
harness = false
[dependencies]
bootloader = "0.9"
volatile = "0.2.6"
lazy_static = { version = "1.5", features = ["spin_no_std"] }
spin = "0.5.2"
x86_64 = "0.14.2"
uart_16550 = "0.2.0"