Skip to content

Commit 268822d

Browse files
chore: bump minimum required rust version in installs
1 parent 0b7f3fe commit 268822d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

install.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ function vercomp($v1, $v2) {
5353
}
5454

5555
$rustVersion = $(rustc --version).Split(" ")[1]
56-
$minRustVersion = "1.39"
56+
$minRustVersion = "1.56"
5757
if ((vercomp $rustVersion $minRustVersion) -eq 2) {
5858
Write-Host "WARNING: Rust version is too old: $rustVersion - needs at least $minRustVersion"
5959
Write-Host "Please update Rust with 'rustup update'"

install.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ function vercomp() {
100100
}
101101

102102
RustVersion=$(rustc --version | cut -d " " -f 2)
103-
MinRustVersion=1.39
103+
MinRustVersion=1.56
104104
vercomp "$RustVersion" $MinRustVersion || ec=$?
105105
if [ ${ec:-0} -eq 2 ]
106106
then

0 commit comments

Comments
 (0)