File tree Expand file tree Collapse file tree 3 files changed +5
-8
lines changed Expand file tree Collapse file tree 3 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -14,15 +14,15 @@ install:
1414 - rustup component add clippy
1515 - rustup component add rustfmt
1616 - rustup component add rust-src
17- - cargo install cargo-xbuild
1817 - sudo apt-get install -y mtools
1918 - wget https://download.clearlinux.org/releases/28660/clear/clear-28660-kvm.img.xz
2019 - unxz clear-28660-kvm.img.xz
2120 - ./make-test-disks.sh
2221
2322script :
24- - cargo xbuild --release --target target.json
25- - cargo xclippy --target target.json
23+ - cargo build --target target.json -Zbuild-std=core -Zbuild-std-features=compiler-builtins-mem
24+ - cargo build --release --target target.json -Zbuild-std=core -Zbuild-std-features=compiler-builtins-mem
25+ - cargo clippy --target target.json -Zbuild-std=core
2626 - cargo clippy --all-targets --all-features
2727 - cargo fmt --all -- --check
2828 - cargo test
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ all the way into the OS.
2424
2525To compile:
2626
27- cargo xbuild --release --target target.json
27+ cargo build --release --target target.json -Zbuild-std=core -Zbuild-std-features=compiler-builtins-mem
2828
2929The result will be in:
3030
Original file line number Diff line number Diff line change @@ -3,11 +3,8 @@ set -xeuf
33
44source " ${CARGO_HOME:- $HOME / .cargo} /env"
55
6- XBUILD_VERSION=" 0.6.2"
7- cargo install cargo-xbuild --version $XBUILD_VERSION
8-
96rustup component add rust-src
10- cargo xbuild --release --target target.json
7+ cargo build --release --target target.json -Zbuild-std=core -Zbuild-std-features=compiler-builtins-mem
118
129CH_VERSION=" v0.8.0"
1310CH_URL=" https://github.com/cloud-hypervisor/cloud-hypervisor/releases/download/$CH_VERSION /cloud-hypervisor"
You can’t perform that action at this time.
0 commit comments