Cargo Features
[dependencies]
hermit = { version = "0.10.0", default-features = false, features = ["fsgsbase", "idle-poll", "instrument", "mmap", "pci", "pci-ids", "randomize-layout", "rtl8139", "shell", "smp", "strace", "tcp", "trace", "udp", "vsock"] }
- default = acpi, dhcpv4, dns, fs, fsgsbase, pci, pci-ids, smp, tcp, udp
-
These default features are set whenever
hermit
is added without
somewhere in the dependency tree.default-features = false - acpi dhcpv4 dns fs fsgsbase default
- idle-poll
- instrument
-
Build the kernel with function instrument code for mcount-based tracing
- libc mmap
- pci default pci-ids rtl8139?
- pci-ids default = pci
- randomize-layout
-
Enables -Z randomize-layout in the kernel
- rtl8139 = pci
-
if this feature isn't set, the Virtio interface will be used
- shell
- smp default
- strace
- tcp default
- trace
- udp default
- vga vsock