Skip to content

Commit 1f73c19

Browse files
committed
Use -Z build-std=core instead of xbuild
See: https://github.com/rust-osdev/cargo-xbuild#alternative-the-build-std-feature-of-cargo Signed-off-by: Joe Richey <[email protected]>
1 parent a37be0d commit 1f73c19

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

.github/workflows/tests.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -157,21 +157,14 @@ jobs:
157157
toolchain: nightly
158158
components: rust-src
159159
override: true
160-
- name: Cache cargo plugins
161-
uses: actions/cache@v1
162-
with:
163-
path: ~/.cargo/bin/
164-
key: ${{ runner.os }}-cargo-plugins
165-
- name: Install xbuild
166-
run: cargo install cargo-xbuild || true
167160
- name: UEFI
168-
run: cargo xbuild --features=rdrand --target x86_64-unknown-uefi
161+
run: cargo build -Z build-std=core --features=rdrand --target=x86_64-unknown-uefi
169162
- name: Hermit
170-
run: cargo xbuild --features=rdrand --target x86_64-unknown-hermit
163+
run: cargo build -Z build-std=core --features=rdrand --target=x86_64-unknown-hermit
171164
- name: L4Re
172-
run: cargo xbuild --features=rdrand --target x86_64-unknown-l4re-uclibc
165+
run: cargo build -Z build-std=core --features=rdrand --target=x86_64-unknown-l4re-uclibc
173166
- name: VxWorks
174-
run: cargo xbuild --features=rdrand --target x86_64-wrs-vxworks
167+
run: cargo build -Z build-std=core --features=rdrand --target=x86_64-wrs-vxworks
175168

176169
clippy-fmt:
177170
name: Clippy + rustfmt

0 commit comments

Comments
 (0)