Skip to content

Commit 5f2342b

Browse files
committed
Cargo.toml: Reformat features
1 parent 7ab3246 commit 5f2342b

File tree

1 file changed

+18
-9
lines changed

1 file changed

+18
-9
lines changed

hermit-sys/Cargo.toml

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,28 @@ edition = "2021"
1414
documentation = "https://hermitcore.github.io/rusty-hermit/hermit_sys"
1515

1616
[features]
17-
default = ["pci", "acpi", "smp", "fsgsbase"]
18-
# controls whether RustyHermit is build with -Z instrument-mcount
19-
instrument = ["rftrace"]
20-
trace = []
17+
default = [
18+
"acpi",
19+
"pci",
20+
"smp",
21+
"fsgsbase",
22+
]
23+
24+
aarch64-qemu-stdout = []
25+
acpi = []
26+
dhcpv4 = ["smoltcp/proto-dhcpv4"]
2127
fsgsbase = []
28+
29+
# Build the kernel with function instrument code for mcount-based tracing
30+
instrument = ["rftrace"]
31+
2232
pci = []
23-
acpi = []
33+
smp = []
34+
trace = []
2435
vga = []
25-
dhcpv4 = ["smoltcp/proto-dhcpv4"]
26-
# only for internal usage, please don't use it
36+
37+
# Internal feature for building the kernel from local sources
2738
with_submodule = []
28-
smp = []
29-
aarch64-qemu-stdout = []
3039

3140
[build-dependencies]
3241
walkdir = "2"

0 commit comments

Comments
 (0)