Skip to content

Commit 0630857

Browse files
committed
Use -Zbuildstd instead of cargo-xbuild
1 parent 0b98df9 commit 0630857

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

.cargo/config

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[alias]
2+
xbuild = "build -Zbuild-std=core"

.github/workflows/build.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,9 @@ jobs:
4141
4242
- name: "Install Rustup Components"
4343
run: rustup component add rust-src llvm-tools-preview
44-
- name: "Install cargo-xbuild"
45-
run: cargo install cargo-xbuild --debug
4644
- name: "Install cargo-binutils"
4745
run: cargo install cargo-binutils --version 0.1.7 --debug
4846

49-
- run: cargo xbuild
50-
working-directory: test-kernel
51-
name: 'Build Test Kernel'
52-
5347
- name: 'Build Bootloader'
5448
run: cargo xbuild --release
5549
working-directory: src/stage_2
@@ -109,8 +103,6 @@ jobs:
109103
if: runner.os == 'macOS'
110104
- name: "Install Rustup Components"
111105
run: rustup component add rust-src llvm-tools-preview
112-
- name: "Install cargo-xbuild"
113-
run: cargo install cargo-xbuild --debug
114106
- name: 'Build Example Kernel'
115107
run: cargo xbuild
116108
working-directory: example-kernel

0 commit comments

Comments
 (0)