Cargo Features
arceos-guestmode has no features set by default.
[dependencies]
arceos-guestmode = { version = "0.4.6", features = ["guest-kernel", "axstd", "xtask"] }
- guest-kernel
-
Required by the skernel binary
- axstd
-
Enables axerrno ^0.1
Error types
Enable FS init in axruntime (bypasses broken arceos_api/fs)
Direct filesystem access API
HAL - UserContext, paging, trap handling
and axio
I/O traits (Read, Write, Seek)
Logging (ax_println!)
Memory management - user address spaces
─── ArceOS crates (common, all architectures) ───
Synchronization primitives
Task management
and memoffset
Struct field offset computation (used by both riscv64 and aarch64 asm)
and memory_addr
Address types
- xtask
-
clap:
─── Xtask dependencies ───
Required by the xtask binary