chore(just): remove rust version check

This commit is contained in:
Michael Aaron Murphy 2024-07-08 17:04:34 +02:00
parent 7b3392e831
commit cb02d51a30
No known key found for this signature in database
GPG key ID: B2732D4240C9212C

View file

@ -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.