rust/test.sh

13 lines
252 B
Bash
Raw Normal View History

2018-08-10 19:09:21 +02:00
#!/bin/bash
source config.sh
2018-08-31 19:50:26 +02:00
rm -r target/out || true
2018-08-15 16:17:59 +02:00
mkdir -p target/out/clif
echo "[BUILD] sysroot"
time ./build_sysroot/build_sysroot.sh
2018-10-08 19:40:06 +02:00
2019-02-11 15:28:56 +01:00
echo "[BUILD+RUN] alloc_example"
$RUSTC example/alloc_example.rs --crate-type bin
2019-02-11 15:28:56 +01:00
./target/out/alloc_example