Skip to content

Commit fa07e1c

Browse files
committed
cpuio: Use new feature flag for const functions
This is necessary since rust-lang/rust#84310, otherwise new nightlies can't build cpuio. Fixes #8.
1 parent c3377fb commit fa07e1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/cpuio/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//! CPU-level input/output instructions, including `inb`, `outb`, etc., and
22
//! a high level Rust wrapper.
33
4-
#![feature(llvm_asm, const_fn)]
4+
#![feature(llvm_asm, const_fn_trait_bound)]
55
#![no_std]
66

77
use core::marker::PhantomData;

0 commit comments

Comments
 (0)