Skip to content

Commit

Permalink
adapt examples and CI to stable
Browse files Browse the repository at this point in the history
  • Loading branch information
romancardenas committed Feb 27, 2024
1 parent dbcfe03 commit 1debe31
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ jobs:
- riscv32-imc-clint
- riscv32-imac-clint
toolchain:
- nightly
- stable
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -339,7 +339,7 @@ jobs:
- riscv32-imc-clint
- riscv32-imac-clint
toolchain:
- nightly
- stable
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion examples/hifive1/examples/prio_inheritance.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#![no_main]
#![no_std]
#![feature(type_alias_impl_trait)]
// #![feature(type_alias_impl_trait)]

use riscv_rt as _;

Expand Down
2 changes: 1 addition & 1 deletion examples/hifive1/examples/static.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#![deny(warnings)]
#![deny(unsafe_code)]
#![deny(missing_docs)]
#![feature(type_alias_impl_trait)]
// #![feature(type_alias_impl_trait)]

use hifive1 as _;
use riscv_rt as _;
Expand Down
2 changes: 1 addition & 1 deletion examples/hifive1/examples/task.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#![deny(warnings)]
#![deny(unsafe_code)]
#![deny(missing_docs)]
#![feature(type_alias_impl_trait)]
// #![feature(type_alias_impl_trait)]

use hifive1 as _;
use riscv_rt as _;
Expand Down
2 changes: 1 addition & 1 deletion examples/hifive1/examples/zero_prio_task.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#![deny(warnings)]
#![deny(unsafe_code)]
#![deny(missing_docs)]
#![feature(type_alias_impl_trait)]
// #![feature(type_alias_impl_trait)]

use core::marker::PhantomData;
use hifive1 as _;
Expand Down
2 changes: 1 addition & 1 deletion examples/hifive1/rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[toolchain]
channel = "nightly"
channel = "stable"
components = [ "rust-src", "rustfmt" ]
targets = [ "riscv32imc-unknown-none-elf", "riscv32imac-unknown-none-elf" ]

0 comments on commit 1debe31

Please sign in to comment.