统信UOS系统如何编译firecracker?

MoMo 2022年5月21日21:32:01
评论
216

拉取代码

git clone https://gitlabwh.uniontech.com/wuhan/container/firecracker.git

编译生成cargo

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source $HOME/.cargo/env

编译firecracker

cargo build --target x86_64-unknown-linux-gnu

生成firecracker二进制

在build/cargo_target/x86_64-unknown-linux-gnu/debug/ 下
https://xpanx.com/
MoMo
  • 本文由 发表于 2022年5月21日21:32:01
  • 转载请务必保留本文链接:https://xpanx.com/3928.html
匿名

发表评论

匿名网友 填写信息

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: