Skip to content

Commit

Permalink
[meta] upgrade MSRV to Rust 1.66
Browse files Browse the repository at this point in the history
  • Loading branch information
sunshowers committed Mar 19, 2023
1 parent 8ab6f3a commit 3ddc0fe
Show file tree
Hide file tree
Showing 14 changed files with 15 additions and 47 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ jobs:
- ubuntu-latest
- macos-latest
- windows-latest
# 1.64 is the MSRV
rust-version: [ 1.64, stable ]
# 1.66 is the MSRV
rust-version: [ 1.66, stable ]
fail-fast: false
steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ This repository contains the source code for:

## Minimum supported Rust version

The minimum supported Rust version is **Rust 1.64.** At least the last 3 versions of stable Rust are supported at any given time; see the [stability policy](https://nexte.st/book/stability) for more details.
The minimum supported Rust version is **Rust 1.66.** At least the last 3 versions of stable Rust are supported at any given time; see the [stability policy](https://nexte.st/book/stability) for more details.

While a crate is pre-release status (0.x.x) it may have its MSRV bumped in a patch release. Once a
crate has reached 1.x, any MSRV bump will be accompanied with a new minor version.
Expand Down
2 changes: 1 addition & 1 deletion cargo-nextest/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ documentation = "https://nexte.st"
keywords = ["nextest", "test-runner", "flaky-tests", "junit"]
categories = ["development-tools::cargo-plugins", "development-tools::testing"]
edition = "2021"
rust-version = "1.64"
rust-version = "1.66"

[dependencies]
camino = "1.1.4"
Expand Down
26 changes: 0 additions & 26 deletions fixtures/nextest-tests/build.rs

This file was deleted.

10 changes: 2 additions & 8 deletions fixtures/nextest-tests/tests/basic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -155,16 +155,10 @@ fn test_cargo_env_vars() {
assert_env!("CARGO_PKG_REPOSITORY");
assert_env!("CARGO_PKG_LICENSE");
assert_env!("CARGO_PKG_LICENSE_FILE");

// This must be disabled at compile time because CARGO_PKG_RUST_VERSION isn't set at compile
// time on Rust < 1.64, which causes env! to fail.
#[cfg(not(no_pkg_rust_version))]
{
assert_env!("CARGO_PKG_RUST_VERSION");
}
assert_env!("CARGO_PKG_RUST_VERSION");

// CARGO_CRATE_NAME is missing at runtime
// CARGO_BIN_EXE is missing at runtime
// CARGO_BIN_EXE_<name> is missing at runtime
// CARGO_PRIMARY_PACKAGE is missing at runtime
// CARGO_TARGET_TMPDIR is missing at runtime
// Dynamic library paths are tested by actually executing the tests -- they depend on the dynamic library.
Expand Down
2 changes: 1 addition & 1 deletion nextest-filtering/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ repository = "https://github.com/nextest-rs/nextest"
documentation = "https://docs.rs/nextest-filtering"
keywords = ["nextest", "test-runner"]
categories = ["development-tools::testing"]
rust-version = "1.64"
rust-version = "1.66"

[[bin]]
name = "generate-expr-corpus"
Expand Down
2 changes: 1 addition & 1 deletion nextest-metadata/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ repository = "https://github.com/nextest-rs/nextest"
documentation = "https://docs.rs/nextest-metadata"
keywords = ["nextest", "test-runner"]
categories = ["development-tools::testing"]
rust-version = "1.64"
rust-version = "1.66"

[dependencies]
camino = { version = "1.1.4", features = ["serde1"] }
Expand Down
2 changes: 1 addition & 1 deletion nextest-metadata/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ println!("{:?}", test_list);

## Minimum supported Rust version (MSRV)

The minimum supported Rust version is **Rust 1.64.**
The minimum supported Rust version is **Rust 1.66.**

While this crate is a pre-release (0.x.x) it may have its MSRV bumped in a patch release.
Once a crate has reached 1.x, any MSRV bump will be accompanied with a new minor version.
Expand Down
2 changes: 1 addition & 1 deletion nextest-metadata/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
//!
//! # Minimum supported Rust version (MSRV)
//!
//! The minimum supported Rust version is **Rust 1.64.**
//! The minimum supported Rust version is **Rust 1.66.**
//!
//! While this crate is a pre-release (0.x.x) it may have its MSRV bumped in a patch release.
//! Once a crate has reached 1.x, any MSRV bump will be accompanied with a new minor version.
Expand Down
2 changes: 1 addition & 1 deletion nextest-runner/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ license = "MIT OR Apache-2.0"
repository = "https://github.com/nextest-rs/nextest"
documentation = "https://docs.rs/nextest-runner"
edition = "2021"
rust-version = "1.64"
rust-version = "1.66"
# For an example build script that gates by compiler version, see the history for build.rs in this
# directory.

Expand Down
2 changes: 1 addition & 1 deletion quick-junit/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ documentation = "https://docs.rs/quick-junit"
keywords = ["junit", "xunit", "xml", "serializer", "flaky-tests"]
categories = ["encoding", "development-tools"]
edition = "2021"
rust-version = "1.64"
rust-version = "1.66"

[dependencies]
chrono = "0.4.24"
Expand Down
2 changes: 1 addition & 1 deletion quick-junit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ For a more comprehensive example, including reruns and flaky tests, see

## Minimum supported Rust version (MSRV)

The minimum supported Rust version is **Rust 1.64.**
The minimum supported Rust version is **Rust 1.66.**

While this crate is a pre-release (0.x.x) it may have its MSRV bumped in a patch release.
Once a crate has reached 1.x, any MSRV bump will be accompanied with a new minor version.
Expand Down
2 changes: 1 addition & 1 deletion quick-junit/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
//!
//! # Minimum supported Rust version (MSRV)
//!
//! The minimum supported Rust version is **Rust 1.64.**
//! The minimum supported Rust version is **Rust 1.66.**
//!
//! While this crate is a pre-release (0.x.x) it may have its MSRV bumped in a patch release.
//! Once a crate has reached 1.x, any MSRV bump will be accompanied with a new minor version.
Expand Down
2 changes: 1 addition & 1 deletion site/src/book/installing-from-source.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ cargo install cargo-nextest --locked

> Note: A plain `cargo install cargo-nextest` without `--locked` is **not supported**. If you run into build issues, please try with `--locked` before reporting an issue.
`cargo nextest` must be compiled and installed with **Rust 1.64** or later (see [Stability policy] for more), but it can build and run
`cargo nextest` must be compiled and installed with **Rust 1.66** or later (see [Stability policy] for more), but it can build and run
tests against any version of Rust.

[Stability policy]: stability.md#minimum-supported-rust-version-msrv
Expand Down

0 comments on commit 3ddc0fe

Please sign in to comment.