We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
command -v cargo
1 parent c1f09f3 commit 4dc0d65Copy full SHA for 4dc0d65
xtask/templates/install-command.bash.txt
@@ -10,6 +10,7 @@ tar xvf "/tmp/rust-$rust_version-x86_64-unknown-linux-gnu.tar.gz" -C /tmp
10
sudo "/tmp/rust-$rust_version-x86_64-unknown-linux-gnu/install.sh"
11
12
cargo -vV
13
+[ "$(command -v cargo)" = /usr/local/bin/cargo ]
14
[ "$(cargo -vV | sed -n 's/release: \(.*\)/\1/p')" = "$rust_version" ]
15
[ "$(cargo -vV | sed -n 's/host: \(.*\)/\1/p')" = x86_64-unknown-linux-gnu ]
16
0 commit comments