Skip to content

Commit acf83a5

Browse files
bors[bot]adamgreig
andauthored
Merge #433
433: Change CI to build with Rust 1.32 and document that as MSRV r=reitermarkus a=adamgreig This PR adds a documented MSRV, per rust-embedded/wg#445 As far as I can tell none of the Azure pipelines use Xargo or nightly Rust, so I think this small change should be sufficient, but we'll see what CI makes of it. Co-authored-by: Adam Greig <[email protected]>
2 parents a856afb + 9c7268e commit acf83a5

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,14 @@ $ QEMU_STRACE=1 cross run --target aarch64-unknown-linux-gnu
327327
work because `cross` use docker containers only mounts the Cargo project so
328328
the container doesn't have access to the rest of the filesystem.
329329

330+
## Minimum Supported Rust Version (MSRV)
331+
332+
This crate is guaranteed to compile on stable Rust 1.42.0 and up. It *might*
333+
compile with older versions but that may change in any new patch release.
334+
335+
Some cross-compilation targets require a later Rust version, and using Xargo
336+
requires a nightly Rust toolchain.
337+
330338
## License
331339

332340
Licensed under either of

azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
vmImage: $(VM_IMAGE)
1515
variables:
1616
VM_IMAGE: ubuntu-latest
17-
TOOLCHAIN: stable
17+
TOOLCHAIN: 1.42.0
1818
CARGO_NET_RETRY: 3
1919
CARGO_HTTP_CHECK_REVOKE: false
2020
strategy:

0 commit comments

Comments
 (0)