Skip to content

Commit 13d3b3e

Browse files
authored
Drop support for Rust 1.83. (#1178)
1 parent c4d7332 commit 13d3b3e

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.github/workflows/ci.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ jobs:
219219
#
220220
# Also make sure to update the MSRV in the cargo-semver-checks-action CI:
221221
# https://github.com/obi1kenobi/cargo-semver-checks-action/blob/main/.github/workflows/test-action.yml#L18
222-
toolchain: ["1.83", "1.84", "stable", "beta"]
222+
toolchain: ["1.84", "stable", "beta"]
223223
experimental: [false]
224224
include:
225225
- toolchain: "nightly"
@@ -375,8 +375,8 @@ jobs:
375375
needs:
376376
- build-binary
377377
env:
378-
OLDER_RUST: "1.83" # Rust 1.83 uses rustdoc v35
379-
NEWER_RUST: "1.84" # Rust 1.84 uses rustdoc v36
378+
OLDER_RUST: "1.84" # Rust 1.84 uses rustdoc v36
379+
NEWER_RUST: "1.85" # Rust 1.85 uses rustdoc v37
380380
steps:
381381
- name: Put env vars in outputs
382382
id: vars
@@ -1843,7 +1843,7 @@ jobs:
18431843
id: toolchain
18441844
uses: actions-rust-lang/setup-rust-toolchain@v1
18451845
with:
1846-
toolchain: "1.82"
1846+
toolchain: "1.83"
18471847
rustflags: ""
18481848
cache: false
18491849

@@ -1886,7 +1886,7 @@ jobs:
18861886
- name: Check output
18871887
run: |
18881888
cd semver
1889-
EXPECTED="$(echo -e "error: rustc version is not high enough: >=1.83.0 needed, got 1.82.0")"
1889+
EXPECTED="$(echo -e "error: rustc version is not high enough: >=1.84.0 needed, got 1.83.0")"
18901890
RESULT="$(grep 'error: rustc version' output)"
18911891
diff <(echo "$RESULT") <(echo "$EXPECTED")
18921892

Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ repository = "https://github.com/obi1kenobi/cargo-semver-checks"
99
readme = "./README.md"
1010
keywords = ["semver", "linter", "check", "crate", "cargo"]
1111
categories = ["command-line-utilities", "development-tools::cargo-plugins"]
12-
rust-version = "1.83"
12+
rust-version = "1.84"
1313
exclude = [".github/", "brand/", "scripts/", "test_crates/", "test_outputs/", "tests/"]
1414

1515
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
@@ -18,7 +18,7 @@ exclude = [".github/", "brand/", "scripts/", "test_crates/", "test_outputs/", "t
1818
trustfall = "0.8.1" # Ensure this matches the `trustfall_core` dev-dependency version below.
1919
# `cargo_metadata` is used at the API boundary of `trustfall_rustdoc`,
2020
# so ensure the version we use for `cargo_metadata` here matches what `trustfall_rustdoc` uses too.
21-
trustfall_rustdoc = { version = "0.22.0", default-features = false, features = ["v35", "v36", "v37", "v39", "rayon", "rustc-hash"] }
21+
trustfall_rustdoc = { version = "0.22.0", default-features = false, features = ["v36", "v37", "v39", "rayon", "rustc-hash"] }
2222
cargo_metadata = "0.19.1"
2323
# End of dependency block
2424

src/config.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ impl GlobalConfig {
3737
Self {
3838
level: None,
3939
handlebars: make_handlebars_registry(),
40-
minimum_rustc_version: semver::Version::new(1, 83, 0),
40+
minimum_rustc_version: semver::Version::new(1, 84, 0),
4141
stdout: AutoStream::new(Box::new(std::io::stdout()), stdout_choice),
4242
stderr: AutoStream::new(Box::new(std::io::stderr()), stderr_choice),
4343
feature_flags: HashSet::new(),

0 commit comments

Comments
 (0)