Created
April 12, 2017 00:27
-
-
Save malbarbo/44e4194434ac3bfe9c1f0e618f6099f0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
archs=( | |
aarch64-linux-android | |
aarch64-unknown-linux-gnu | |
arm-linux-androideabi | |
arm-unknown-linux-gnueabi | |
arm-unknown-linux-gnueabihf | |
armv7-linux-androideabi | |
armv7-unknown-linux-gnueabihf | |
i686-linux-android | |
i686-unknown-linux-gnu | |
x86_64-unknown-freebsd | |
x86_64-unknown-linux-gnu | |
x86_64-unknown-netbsd | |
) | |
t=$(mktemp -d) | |
cd $t | |
for arch in ${archs[@]}; do | |
rm -f rustup-init | |
curl -Os https://static.rust-lang.org/rustup/dist/$arch/rustup-init | |
out=$(nm rustup-init | grep Curl_ssl_version) | |
if [ -z "$out" ]; then | |
echo $arch: Broken | |
else | |
echo $arch: Ok | |
fi | |
done | |
cd ../ && rm -rf $t |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment