don't wrap static references in a Static

This commit is contained in:
Jorge Aparicio 2017-07-23 20:59:35 -05:00
parent 6ea9cda663
commit f5a4d8e904
4 changed files with 10 additions and 19 deletions

View file

@ -3,16 +3,12 @@ set -ex
main() {
if [ $TARGET = x86_64-unknown-linux-gnu ]; then
cargo build
cargo test
cargo test --tests
return
fi
xargo build --target $TARGET
for ex in $(ls examples/*); do
ex=$(basename $ex)
ex=${ex%.*}
xargo build --target $TARGET --example $ex
done
xargo test --target $TARGET --examples
}
main