Skip to content

Commit

Permalink
fix(build): lock nightly toolchain (#31)
Browse files Browse the repository at this point in the history
* fix(build): lock nightly toolchain

See-also: #29

* fix(ci): use nightly-2024-06-12
  • Loading branch information
andelf authored Jun 20, 2024
1 parent 56de16c commit 2ee0af2
Show file tree
Hide file tree
Showing 10 changed files with 26 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- uses: actions/checkout@v3
- name: Use nightly Rust
run: |
rustup default nightly
rustup default nightly-2024-06-12
rustup component add rust-src
rustup target add riscv32imac-unknown-none-elf
rustup target add riscv32imafc-unknown-none-elf
Expand Down
3 changes: 3 additions & 0 deletions examples/ch32l103/rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[toolchain]
channel = "nightly-2024-06-12"
targets = ["riscv32imac-unknown-none-elf"]
2 changes: 2 additions & 0 deletions examples/ch32v003/rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[toolchain]
channel = "nightly-2024-06-12"
3 changes: 3 additions & 0 deletions examples/ch32v103/rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[toolchain]
channel = "nightly-2024-06-12"
targets = ["riscv32imac-unknown-none-elf"]
3 changes: 3 additions & 0 deletions examples/ch32v203/rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[toolchain]
channel = "nightly-2024-06-12"
targets = ["riscv32imac-unknown-none-elf"]
3 changes: 3 additions & 0 deletions examples/ch32v208/rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[toolchain]
channel = "nightly-2024-06-12"
targets = ["riscv32imac-unknown-none-elf"]
3 changes: 3 additions & 0 deletions examples/ch32v305/rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[toolchain]
channel = "nightly-2024-06-12"
targets = ["riscv32imafc-unknown-none-elf"]
3 changes: 3 additions & 0 deletions examples/ch32v307/rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[toolchain]
channel = "nightly-2024-06-12"
targets = ["riscv32imafc-unknown-none-elf"]
3 changes: 3 additions & 0 deletions examples/ch32x035/rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[toolchain]
channel = "nightly-2024-06-12"
targets = ["riscv32imac-unknown-none-elf"]
2 changes: 2 additions & 0 deletions examples/ch641/rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[toolchain]
channel = "nightly-2024-06-12"

0 comments on commit 2ee0af2

Please sign in to comment.