rust/test.sh
2019-07-26 11:32:04 +02:00

12 lines
252 B
Bash
Executable file

#!/bin/bash
source config.sh
rm -r target/out || true
mkdir -p target/out/clif
echo "[BUILD] sysroot"
time ./build_sysroot/build_sysroot.sh
echo "[BUILD+RUN] alloc_example"
$RUSTC example/alloc_example.rs --crate-type bin
./target/out/alloc_example