plain-os/Cargo.toml

40 lines
1.1 KiB
TOML
Raw Permalink Normal View History

2022-03-27 15:45:56 +00:00
[package]
name = "plain_os"
version = "0.1.0"
edition = "2021"
resolver = "2"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[profile.dev]
#panic = "abort" # disable stack unwinding on panic
2022-03-27 15:45:56 +00:00
[profile.release]
panic = "abort" # disable stack unwinding on panic
[dependencies]
# FIXME(feliix42): Update to newer version
2022-03-27 16:41:22 +00:00
bootloader = "0.9"
# FIXME(feliix42): "newer versions of this library are not compatible with this post"
volatile = "0.2.6"
lazy_static = { version = "1.4", features = ["spin_no_std"] }
spin = "0.5.2"
# Data structures for interrupt handling (Interrupt Descriptor Tables, ...)
x86_64 = "0.14.2"
# Dependency for talking through the Serial Port
uart_16550 = "0.2.0"
[package.metadata.bootimage]
# enables a special `isa-debug-exit` device in QEMU which allows us to terminate the OS from the outside
test-args = [
"-device", "isa-debug-exit,iobase=0xf4,iosize=0x04", "-serial", "stdio",
"-display", "none"
]
# define the correct `success` exit code
test-success-exit-code = 33 # (0x10 << 1) | 1