File tree Expand file tree Collapse file tree 5 files changed +14
-5
lines changed Expand file tree Collapse file tree 5 files changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ language: rust
3
3
rust :
4
4
- nightly
5
5
- stable
6
+ - 1.31.0 # MSRV
6
7
7
8
env :
8
9
- TARGET=x86_64-unknown-linux-gnu
@@ -15,6 +16,8 @@ matrix:
15
16
exclude :
16
17
- rust : stable
17
18
env : TARGET=riscv64imac-unknown-none-elf
19
+ - rust : 1.31.0 # MSRV
20
+ env : TARGET=riscv64imac-unknown-none-elf
18
21
19
22
20
23
before_install : set -e
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " riscv-rt"
3
- version = " 0.4 .0"
3
+ version = " 0.5 .0"
4
4
repository = " https://github.com/rust-embedded/riscv-rt"
5
5
authors = [" The RISC-V Team <risc-v@teams.rust-embedded.org>" ]
6
6
categories = [" embedded" , " no-std" ]
Original file line number Diff line number Diff line change @@ -28,4 +28,4 @@ version = "0.5.5"
28
28
default-features = false
29
29
30
30
[dev-dependencies ]
31
- riscv-rt = { path = " .." , version = " 0.4 .0" }
31
+ riscv-rt = { path = " .." , version = " 0.5 .0" }
Original file line number Diff line number Diff line change @@ -29,9 +29,8 @@ use proc_macro::TokenStream;
29
29
/// private modules between the item and the root of the crate); if the item is in the root of the
30
30
/// crate you'll be fine. This reachability restriction doesn't apply to Rust 1.31 and newer releases.
31
31
///
32
- /// The specified function will be called by the reset handler *after* RAM has been initialized. In
33
- /// the case of the `thumbv7em-none-eabihf` target the FPU will also be enabled before the function
34
- /// is called.
32
+ /// The specified function will be called by the reset handler *after* RAM has been initialized.
33
+ /// If present, the FPU will also be enabled before the function is called.
35
34
///
36
35
/// The type of the specified function must be `[unsafe] fn() -> !` (never ending function)
37
36
///
Original file line number Diff line number Diff line change 1
1
//! Minimal startup / runtime for RISC-V CPU's
2
2
//!
3
+ //! # Minimum Supported Rust Version (MSRV)
4
+ //!
5
+ //! This crate is guaranteed to compile on stable Rust 1.31 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
+ //!
3
10
//! # Features
4
11
//!
5
12
//! This crate provides
You can’t perform that action at this time.
0 commit comments