rust-libcore 0.0.1

Libcore wrapped into cargo package, suitable for cross-builds
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash

which wget >/dev/null 2>/dev/null
if [ $? -eq 0 ]; then
  wget -q -O rust.tar.gz "$DOWNLOAD_LINK"
else
  which curl >/dev/null 2>/dev/null
  if [ $? -eq 0 ]; then
   curl -L -o rust.tar.gz "$DOWNLOAD_LINK"
  else
    echo "wget or curl required"
    exit 1
  fi
fi
exec tar -zx --strip-components=1 -f rust.tar.gz