Skip to content

Commit

Permalink
Remove #![feature(feature)] from example root task
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Spinale <[email protected]>
  • Loading branch information
nspin committed Jan 11, 2024
1 parent 938e0db commit c0397a0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions crates/examples/root-task/example-root-task/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,11 @@

#![no_std]
#![no_main]
#![feature(never_type)]

use sel4_root_task::root_task;
use sel4_root_task::{root_task, Never};

#[root_task]
fn main(bootinfo: &sel4::BootInfo) -> sel4::Result<!> {
fn main(bootinfo: &sel4::BootInfo) -> sel4::Result<Never> {
sel4::debug_println!("Hello, World!");

let blueprint = sel4::ObjectBlueprint::Notification;
Expand Down

0 comments on commit c0397a0

Please sign in to comment.