Skip to content

Commit 19c6b36

Browse files
bors[bot]eldruin
andauthored
Merge #3
3: Document MSRV in README and test on Rust stable r=paoloteti a=eldruin I documented the MSRV in accordance with rust-embedded/wg#445 I also added Rust stable to the build matrix as I think this would be useful. Maybe nightly or beta would also be interesting. Co-authored-by: Diego Barrios Romero <[email protected]>
2 parents 071b319 + e47a500 commit 19c6b36

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

.travis.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,27 @@ language: rust
22

33
matrix:
44
include:
5+
- env: TARGET=x86_64-unknown-linux-gnu
6+
if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)
7+
rust: stable
8+
9+
- env: TARGET=armebv7r-none-eabi
10+
if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)
11+
rust: stable
12+
13+
- env: TARGET=armebv7r-none-eabihf
14+
if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)
15+
rust: stable
16+
17+
- env: TARGET=armv7r-none-eabi
18+
if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)
19+
rust: stable
20+
21+
- env: TARGET=armv7r-none-eabihf
22+
if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)
23+
rust: stable
24+
25+
# MSRV
526
- env: TARGET=x86_64-unknown-linux-gnu
627
if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)
728
rust: 1.31.0

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
55
This project is developed and maintained by the [Cortex-R team][team].
66

7+
## Minimum Supported Rust Version (MSRV)
8+
9+
This crate is guaranteed to compile on stable Rust 1.31.0 and up. It *might*
10+
compile with older versions but that may change in any new patch release.
11+
712
## License
813

914
Licensed under either of

0 commit comments

Comments
 (0)