2024-11-24 22:06:54 +01:00
|
|
|
[package]
|
|
|
|
name = "matrix_os_kernel"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
bootloader = "0.9"
|
|
|
|
lazy_static = { version = "1.5.0", features = ["spin_no_std"] }
|
|
|
|
spin = "0.9.8"
|
|
|
|
volatile = "0.2.6"
|
2024-11-24 22:28:46 +01:00
|
|
|
x86_64 = { git = "https://github.com/rust-osdev/x86_64", branch = "fix/step-nightly-breakage" }
|
|
|
|
uart_16550 = "0.2.0"
|
2024-11-24 22:06:54 +01:00
|
|
|
|
|
|
|
# the profile used for `cargo build`
|
|
|
|
[profile.dev]
|
|
|
|
panic = "abort" # disable stack unwinding on panic
|
|
|
|
|
|
|
|
# the profile used for `cargo build --release`
|
|
|
|
[profile.release]
|
|
|
|
panic = "abort" # disable stack unwinding on panic
|
|
|
|
|
|
|
|
[package.metadata.bootimage]
|
2024-11-24 22:28:46 +01:00
|
|
|
test-args = [
|
|
|
|
"-device", "isa-debug-exit,iobase=0xf4,iosize=0x04", "-serial", "stdio",
|
|
|
|
"-display", "none"
|
|
|
|
]
|
2024-11-24 22:06:54 +01:00
|
|
|
test-success-exit-code = 33
|
2024-11-24 22:28:46 +01:00
|
|
|
test-timeout = 300 # (in seconds)
|