From ce1a0f326d3ee3a41711fdd3771535de5721cea5 Mon Sep 17 00:00:00 2001 From: Jeroen Ooms Date: Fri, 19 May 2023 23:24:36 +0200 Subject: [PATCH] Test rustc version --- configure | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure b/configure index f1d7e1c..2be4785 100755 --- a/configure +++ b/configure @@ -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