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

and axfeat ^0.2.2-preview.1

Enable FS init in axruntime (bypasses broken arceos_api/fs)

and axfs ^0.2.2-preview.1

Direct filesystem access API

and axhal ^0.2.2-preview.3

HAL - UserContext, paging, trap handling

and axio

I/O traits (Read, Write, Seek)

and axlog ^0.2.2-preview.1

Logging (ax_println!)

and axmm ^0.2.2-preview.1

Memory management - user address spaces

and axstd ^0.2.2-preview.1

─── ArceOS crates (common, all architectures) ───

and axsync ^0.2.2-preview.1

Synchronization primitives

and axtask ^0.2.2-preview.3

Task management

and memoffset

Struct field offset computation (used by both riscv64 and aarch64 asm)

and memory_addr

Address types

xtask

Enables clap and fatfs

clap:

─── Xtask dependencies ───

Required by the xtask binary