Skip to content

Commit

Permalink
fix(installation): Update the MinRustVersion
Browse files Browse the repository at this point in the history
closes #577df

Co-authored-by: Caleb Webber <[email protected]>
  • Loading branch information
seeplusplus and seeplusplus authored Nov 5, 2020
1 parent a9dae71 commit 21bfb2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function vercomp($v1, $v2) {
}

$rustVersion = $(rustc --version).Split(" ")[1]
$minRustVersion = "1.31"
$minRustVersion = "1.39"
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'"
Expand Down
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function vercomp() {
}

RustVersion=$(rustc --version | cut -d " " -f 2)
MinRustVersion=1.31
MinRustVersion=1.39
vercomp $RustVersion $MinRustVersion
if [ $? -eq 2 ]
then
Expand Down

0 comments on commit 21bfb2d

Please sign in to comment.