根据blog_os实现一个简单的系统
curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly # 安装nightly工具链
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain=nightly
cargo install cargo-xbuild
cargo install bootimage --version "^0.7.1"
rustup component add llvm-tools-preview
运行需要预先安装qemu
bootimage build # 编译
bootimage run # 运行