Cargo Features

mango-hal has no features set by default.

[dependencies]
mango-hal = { version = "0.2.1", features = ["x86_64", "rpi3", "test_build", "qemu"] }
x86_64

Enables bootloader ^0.9, pic8259, and x86_64

bootloader:

x86 dependencies

Affects systems::x86_64

rpi4 rpi3 = tock-registers

Affects asynchronous::irq_map, systems::rpi

test_build = mango-test

Affects io::test_vga_buffer_println_output, vga_text_buffer::test_vga_buffer_println_output, driver::qemu_bring_up_console

qemu

Enables qemu of mango-core

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

mango-test test_build?
tock-registers rpi3? rpi4?

Enables tock-registers 0.8.*