跳到主要内容

命令总览

顶层命令

命令作用
cargo xtask test运行 host/std 白名单测试
cargo xtask clippy对 workspace 做静态检查
cargo xtask board ...板卡管理相关命令
cargo xtask arceos ...ArceOS 构建、运行、测试
cargo xtask starry ...StarryOS 构建、运行、rootfs、测试
cargo xtask axvisor ...Axvisor 构建、运行、镜像、配置、测试

各系统高频子命令

系统常用子命令说明
ArceOSbuild, qemu, uboot, test qemu构建 / QEMU 运行 / U-Boot 路径 / 测试
StarryOSbuild, rootfs, qemu, uboot, test qemu构建 / rootfs 准备 / 运行 / 测试
Axvisorbuild, qemu, test qemu, defconfig, config, image构建 / 运行 / 测试 / 配置 / 镜像

入口选择建议

目标推荐命令
验证功能最小 qemu 路径
回归测试对应系统的 test qemu
检查 std cratecargo xtask test
静态分析cargo xtask clippy

完整参数与行为说明:构建系统完整说明