Skip to content

Commit 3603333

Browse files
committed
Update MSRV to 1.39.0, fix doc test that fails <1.41.0.
1 parent b731402 commit 3603333

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

cortex-m-rt/.travis.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,24 @@ matrix:
44
allow_failures:
55
- rust: nightly
66
include:
7-
# MSRV 1.32.0 #############################################################
7+
# MSRV 1.39.0 #############################################################
88
- env: TARGET=x86_64-unknown-linux-gnu
9-
rust: 1.32.0
9+
rust: 1.39.0
1010

1111
- env: TARGET=thumbv6m-none-eabi
12-
rust: 1.32.0
12+
rust: 1.39.0
1313

1414
- env: TARGET=thumbv7m-none-eabi
15-
rust: 1.32.0
15+
rust: 1.39.0
1616

1717
- env: TARGET=thumbv7em-none-eabi
18-
rust: 1.32.0
18+
rust: 1.39.0
1919

2020
- env: TARGET=thumbv7em-none-eabihf
21-
rust: 1.32.0
21+
rust: 1.39.0
2222

2323
- env: TARGET=thumbv8m.main-none-eabi
24-
rust: 1.32.0
24+
rust: 1.39.0
2525

2626
# Stable ##################################################################
2727
- env: TARGET=x86_64-unknown-linux-gnu

cortex-m-rt/src/lib.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,7 @@
372372
//! [`MaybeUninit`]: https://doc.rust-lang.org/core/mem/union.MaybeUninit.html
373373
//!
374374
//! ```no_run,edition2018
375+
//! # extern crate core;
375376
//! use core::mem::MaybeUninit;
376377
//!
377378
//! const STACK_SIZE: usize = 8 * 1024;
@@ -391,7 +392,7 @@
391392
//!
392393
//! # Minimum Supported Rust Version (MSRV)
393394
//!
394-
//! The MSRV of this release is Rust 1.32.0.
395+
//! The MSRV of this release is Rust 1.39.0.
395396
396397
// # Developer notes
397398
//

0 commit comments

Comments
 (0)