Skip to content

Commit 7d4919a

Browse files
committed
Add MSRV policy
1 parent 799cdaf commit 7d4919a

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ env:
77
rust:
88
- nightly
99
- stable
10+
- 1.30.0 # MSRV
1011

1112
if: (branch = staging OR branch = trying OR branch = master) OR (type = pull_request AND branch = master)
1213

src/lib.rs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
//! Low level access to RISC-V processors
22
//!
3+
//! # Minimum Supported Rust Version (MSRV)
4+
//!
5+
//! This crate is guaranteed to compile on stable Rust 1.30 and up. It *might*
6+
//! compile with older versions but that may change in any new patch release.
7+
//! Note that `riscv64imac-unknown-none-elf` and `riscv64gc-unknown-none-elf` targets
8+
//! are not supported on stable yet.
9+
//!
10+
//! # Features
11+
//!
312
//! This crate provides:
413
//!
514
//! - Access to core registers like `mstatus` or `mcause`.

0 commit comments

Comments
 (0)