Skip to content

Commit 0e47f85

Browse files
committed
fix(installation): Update the MinRustVersion
closes rust-lang#577
1 parent a9dae71 commit 0e47f85

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.31"
56+
$minRustVersion = "1.39"
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
@@ -87,7 +87,7 @@ function vercomp() {
8787
}
8888

8989
RustVersion=$(rustc --version | cut -d " " -f 2)
90-
MinRustVersion=1.31
90+
MinRustVersion=1.39
9191
vercomp $RustVersion $MinRustVersion
9292
if [ $? -eq 2 ]
9393
then

0 commit comments

Comments
 (0)