Skip to content

Commit dfb2700

Browse files
committed
fix: fix build error
1 parent 490b0d9 commit dfb2700

1 file changed

Lines changed: 10 additions & 6 deletions

File tree

.github/workflows/build.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,19 @@ jobs:
5353
set_env('BUILD_VERSION', buildVersion)
5454
set_env('RELEASE_VERSION', releaseVersion)
5555
56-
- name: Install nightly Rust
56+
- name: Build Rust
5757
run: |
58-
rustup toolchain install nightly --profile complete
59-
rustup default nightly
58+
git clone https://github.com/mpvkit/rust.git
59+
cd rust
60+
./x check
61+
./x build --stage 2
6062
61-
rustc -vV
63+
rustup toolchain link stage0 build/host/stage0-sysroot
64+
rustup toolchain link stage1 build/host/stage1
65+
rustup toolchain link stage2 build/host/stage2
66+
rustc +stage2 -vV
67+
rustup default stage2
6268
which rustc
63-
rustc --print target-list|grep vision
64-
rustc --print target-list|grep tvos
6569
6670
- name: Install cargo-c
6771
run: |

0 commit comments

Comments
 (0)