Skip to content

Commit

Permalink
cpuio: Use new feature flag for const functions
Browse files Browse the repository at this point in the history
This is necessary since rust-lang/rust#84310, otherwise new nightlies
can't build cpuio.

Fixes emk#8.
  • Loading branch information
hanmertens committed May 8, 2021
1 parent c3377fb commit fa07e1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/cpuio/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//! CPU-level input/output instructions, including `inb`, `outb`, etc., and
//! a high level Rust wrapper.
#![feature(llvm_asm, const_fn)]
#![feature(llvm_asm, const_fn_trait_bound)]
#![no_std]

use core::marker::PhantomData;
Expand Down

0 comments on commit fa07e1c

Please sign in to comment.