diff options
author | 2019-07-24 08:14:28 -0600 | |
---|---|---|
committer | 2019-07-24 08:14:28 -0600 | |
commit | 33a783096e0756c2c251146f3816f856e246de75 (patch) | |
tree | b9a0e3563a66c4badf11ef0685873e652c303591 /src/lib.rs | |
parent | 0788bd9226831d2748b16d300a212981b61aa7c9 (diff) | |
download | cortex-m-33a783096e0756c2c251146f3816f856e246de75.tar.gz cortex-m-33a783096e0756c2c251146f3816f856e246de75.tar.zst cortex-m-33a783096e0756c2c251146f3816f856e246de75.zip |
Define MSRV to be 1.31.0 and unconditionally use const-fn
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -24,11 +24,10 @@ //! //! The disadvantage is that `inline-asm` requires a nightly toolchain. //! -//! ## `const-fn` +//! # Minimum Supported Rust Version (MSRV) //! -//! Enabling this feature turns the `Mutex.new` constructor into a `const fn`. -//! -//! This feature requires a nightly toolchain. +//! This crate is guaranteed to compile on stable Rust 1.31 and up. It *might* +//! compile with older versions but that may change in any new patch release. #![cfg_attr(feature = "inline-asm", feature(asm))] #![deny(missing_docs)] |