Browse Source

Undo wrong changes

pull/37/head
Andrea Ciliberti 1 year ago
parent
commit
70d5ec1843
  1. 2
      .github/workflows/ci.yml
  2. 4
      src/lib.rs

2
.github/workflows/ci.yml

@ -43,7 +43,7 @@ jobs:
matrix: matrix:
toolchain: toolchain:
# Oldest supported nightly # Oldest supported nightly
- nightly-2023-05-31 - nightly-2023-06-01
- nightly - nightly
continue-on-error: ${{ matrix.toolchain == 'nightly' }} continue-on-error: ${{ matrix.toolchain == 'nightly' }}

4
src/lib.rs

@ -136,7 +136,7 @@ pub fn check_rust_version() {
} }
let old_version = MINIMUM_RUSTC_VERSION let old_version = MINIMUM_RUSTC_VERSION
>= Version { > Version {
// Remove `-nightly` pre-release tag for comparison. // Remove `-nightly` pre-release tag for comparison.
pre: semver::Prerelease::EMPTY, pre: semver::Prerelease::EMPTY,
..rustc_version.semver.clone() ..rustc_version.semver.clone()
@ -146,7 +146,7 @@ pub fn check_rust_version() {
None => false, None => false,
Some(date) => { Some(date) => {
MINIMUM_COMMIT_DATE MINIMUM_COMMIT_DATE
>= CommitDate::parse(&date).expect("could not parse `rustc --version` commit date") > CommitDate::parse(&date).expect("could not parse `rustc --version` commit date")
} }
}; };

Loading…
Cancel
Save