chore: bump minimum rust version

This commit is contained in:
Genysys 2022-02-16 18:44:56 +04:00
parent cd2b5e8e3b
commit a60b7af6c6
No known key found for this signature in database
GPG Key ID: EDC23F37A80449A4
2 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ function vercomp($v1, $v2) {
}
$rustVersion = $(rustc --version).Split(" ")[1]
$minRustVersion = "1.39"
$minRustVersion = "1.56"
if ((vercomp $rustVersion $minRustVersion) -eq 2) {
Write-Host "WARNING: Rust version is too old: $rustVersion - needs at least $minRustVersion"
Write-Host "Please update Rust with 'rustup update'"

View File

@ -99,7 +99,7 @@ function vercomp() {
}
RustVersion=$(rustc --version | cut -d " " -f 2)
MinRustVersion=1.39
MinRustVersion=1.56
vercomp $RustVersion $MinRustVersion
if [ $? -eq 2 ]
then