diff --git a/.github/workflows/check-and-lint.yaml b/.github/workflows/check-and-lint.yaml index e098819d..601dc0c0 100644 --- a/.github/workflows/check-and-lint.yaml +++ b/.github/workflows/check-and-lint.yaml @@ -7,7 +7,7 @@ on: name: CI env: - RUST_VER: '1.68.0' + RUST_VER: '1.71.0' CROSS_VER: '0.2.5' CARGO_NET_RETRY: 3 diff --git a/README.md b/README.md index cede29ec..abbe1f7c 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,8 @@ To remedy this, **Topgrade** detects which tools you use and runs the appropriat Other systems users can either use `cargo install` or the compiled binaries from the release page. The compiled binaries contain a self-upgrading feature. -Topgrade requires Rust 1.60 or above. +> Currently, Topgrade requires Rust 1.65 or above. In general, Topgrade tracks +> the latest stable toolchain. ## Usage diff --git a/src/steps/os/unix.rs b/src/steps/os/unix.rs index d539cc1c..aa9eb41c 100644 --- a/src/steps/os/unix.rs +++ b/src/steps/os/unix.rs @@ -383,7 +383,7 @@ pub fn run_nix(ctx: &ExecutionContext) -> Result<()> { #[cfg(target_os = "macos")] { - if let Ok(..) = require("darwin-rebuild") { + if require("darwin-rebuild").is_ok() { return Err(SkipStep(String::from( "Nix-darwin on macOS must be upgraded via darwin-rebuild switch", ))