Skip to content

Commit 401a86b

Browse files
committed
Remove const_fn cargo feature
1 parent 8be4430 commit 401a86b

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

Cargo.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@ repository = "https://github.com/phil-opp/volatile"
1010

1111
[dependencies]
1212

13-
[features]
14-
const_fn = []
15-
1613
[package.metadata.release]
1714
no-dev-version = true
1815
pre-release-replacements = [

src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#![cfg_attr(feature = "const_fn", feature(const_fn))]
2-
31
//! Provides the wrapper type `Volatile`, which wraps a reference to any copy-able type and allows
42
//! for volatile memory access to wrapped value. Volatile memory accesses are never optimized away
53
//! by the compiler, and are useful in many low-level systems programming and concurrent contexts.

0 commit comments

Comments
 (0)