Skip to content

Commit

Permalink
Test rustc version
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen committed May 19, 2023
1 parent 9ded366 commit ce1a0f3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
# mimics: source ~/.cargo/env
export PATH="$HOME/.cargo/bin:$PATH"

# Write 'cargo' to Makevars
VERSION=$(cargo --version)
# On Debian, cargo and rustc are sometimes different
VERSION=$(rustc --version)
if [ $? -eq 0 ]; then
echo "Using `which cargo`"
echo "$VERSION"
echo "Rustc version: $VERSION"

# Check for old version of rustc (edition:2021 requires rust 1.56)
if [ "$(uname)" = "Linux" ]; then
Expand Down

0 comments on commit ce1a0f3

Please sign in to comment.