[package] name = "totos" version = "0.1.0" edition = "2024" [[bin]] name = "totos" test = true bench = false [[test]] name = "should_panic" harness = false [profile.dev] panic = "abort" # disable stack unwinding on panic [profile.release] panic = "abort" # disable stack unwinding on panic [dependencies] bootloader = "0.9" volatile = "0.2.6" spin = "0.5.2" x86_64 = "0.14.2" uart_16550 = "0.2.0" [dependencies.lazy_static] version = "1.0" features = ["spin_no_std"] # this enables exiting qemu from the guest system [package.metadata.bootimage] test-args = [ "-device", "isa-debug-exit,iobase=0xf4,iosize=0x04", "-serial", "stdio", "-display", "none", ] test-success-exit-code = 33 # (0x10 << 1) | 1 = 33