From cb02d51a30267fccebdfbb6ee9b06535bb195b9f Mon Sep 17 00:00:00 2001 From: Michael Aaron Murphy Date: Mon, 8 Jul 2024 17:04:34 +0200 Subject: [PATCH] chore(just): remove rust version check --- scripts/cargo.just | 8 -------- 1 file changed, 8 deletions(-) diff --git a/scripts/cargo.just b/scripts/cargo.just index 36ddcf7..c5fff20 100644 --- a/scripts/cargo.just +++ b/scripts/cargo.just @@ -1,13 +1,5 @@ import "common.just" -# Return an error if the system does not contain the minimum required Rust version. -min-rust-version := '>=' + `grep rust-version Cargo.toml | cut -d' ' -f3 | cut -c 2-7` -rust-version-check := if semver_matches(`rustc --version | cut -c 7-12`, min-rust-version) == "false" { - error('Requires rustc version ' + min-rust-version) -} else { - "passed" -} - cargo-target-dir := env('CARGO_TARGET_DIR', 'target') # Use mold linker if clang and mold exists.