mirror of
https://github.com/rcore-os/rCore-Tutorial-v3.git
synced 2024-11-22 09:26:26 +04:00
udpate rust-toolchain: nightly-2022-07-20, cargo-utils 0.36
This commit is contained in:
parent
4fde9fb207
commit
2d45d246a7
4
.github/workflows/doc-and-test.yml
vendored
4
.github/workflows/doc-and-test.yml
vendored
@ -13,7 +13,7 @@ jobs:
|
|||||||
- uses: actions-rs/toolchain@v1
|
- uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
profile: minimal
|
profile: minimal
|
||||||
toolchain: nightly-2022-04-11
|
toolchain: nightly-2022-07-20
|
||||||
components: rust-src, llvm-tools-preview
|
components: rust-src, llvm-tools-preview
|
||||||
target: riscv64gc-unknown-none-elf
|
target: riscv64gc-unknown-none-elf
|
||||||
- name: Build doc
|
- name: Build doc
|
||||||
@ -32,7 +32,7 @@ jobs:
|
|||||||
- uses: actions-rs/toolchain@v1
|
- uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
profile: minimal
|
profile: minimal
|
||||||
toolchain: nightly-2022-04-11
|
toolchain: nightly-2022-07-20
|
||||||
components: rust-src, llvm-tools-preview
|
components: rust-src, llvm-tools-preview
|
||||||
target: riscv64gc-unknown-none-elf
|
target: riscv64gc-unknown-none-elf
|
||||||
- uses: actions-rs/install@v0.1
|
- uses: actions-rs/install@v0.1
|
||||||
|
@ -51,7 +51,7 @@ endif
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
(rustup target list | grep "riscv64gc-unknown-none-elf (installed)") || rustup target add $(TARGET)
|
(rustup target list | grep "riscv64gc-unknown-none-elf (installed)") || rustup target add $(TARGET)
|
||||||
cargo install cargo-binutils --vers =0.3.3
|
cargo install cargo-binutils
|
||||||
rustup component add rust-src
|
rustup component add rust-src
|
||||||
rustup component add llvm-tools-preview
|
rustup component add llvm-tools-preview
|
||||||
|
|
||||||
|
@ -1 +0,0 @@
|
|||||||
nightly-2022-04-11
|
|
4
rust-toolchain.toml
Normal file
4
rust-toolchain.toml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
[toolchain]
|
||||||
|
profile = "minimal"
|
||||||
|
channel = "nightly-2022-07-20"
|
||||||
|
components = ["rust-src", "llvm-tools-preview", "rustfmt", "clippy"]
|
Loading…
Reference in New Issue
Block a user