diff options
author | 2018-05-13 10:01:24 +0000 | |
---|---|---|
committer | 2018-05-13 10:01:24 +0000 | |
commit | f63d0c0114e50538cd65a18c2f2e1b1d6dcd5e8f (patch) | |
tree | ff8aafbff8ea9e0bcb6c2bbf67989ddcdcd6709c /src/lib.rs | |
parent | 7a0ba8063a181e1b8df9673fdd9e83d10c451678 (diff) | |
parent | 0e468eb30aa368319fa93d6266653477353efae1 (diff) | |
download | cortex-m-f63d0c0114e50538cd65a18c2f2e1b1d6dcd5e8f.tar.gz cortex-m-f63d0c0114e50538cd65a18c2f2e1b1d6dcd5e8f.tar.zst cortex-m-f63d0c0114e50538cd65a18c2f2e1b1d6dcd5e8f.zip |
Merge #90v0.5.1
90: add a "const-fn" feature r=japaric a=japaric
Co-authored-by: Jorge Aparicio <jorge@japaric.io>
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -30,6 +30,12 @@ //! API docs for details. //! //! The disadvantage is that `inline-asm` requires a nightly toolchain. +//! +//! ## `const-fn` +//! +//! Enabling this feature turns the `Mutex.new` constructor into a `const fn`. +//! +//! This feature requires a nightly toolchain. #![cfg_attr(feature = "inline-asm", feature(asm))] #![deny(missing_docs)] |