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:
14
14
- rustup component add clippy
15
15
- rustup component add rustfmt
16
16
- rustup component add rust-src
17
- - cargo install cargo-xbuild
18
17
- sudo apt-get install -y mtools
19
18
- wget https://download.clearlinux.org/releases/28660/clear/clear-28660-kvm.img.xz
20
19
- unxz clear-28660-kvm.img.xz
21
20
- ./make-test-disks.sh
22
21
23
22
script :
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
26
26
- cargo clippy --all-targets --all-features
27
27
- cargo fmt --all -- --check
28
28
- cargo test
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ all the way into the OS.
24
24
25
25
To compile:
26
26
27
- cargo xbuild --release --target target.json
27
+ cargo build --release --target target.json -Zbuild-std=core -Zbuild-std-features=compiler-builtins-mem
28
28
29
29
The result will be in:
30
30
Original file line number Diff line number Diff line change @@ -3,11 +3,8 @@ set -xeuf
3
3
4
4
source " ${CARGO_HOME:- $HOME / .cargo} /env"
5
5
6
- XBUILD_VERSION=" 0.6.2"
7
- cargo install cargo-xbuild --version $XBUILD_VERSION
8
-
9
6
rustup 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
11
8
12
9
CH_VERSION=" v0.8.0"
13
10
CH_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