rust/y.sh

8 lines
209 B
Bash
Raw Normal View History

2023-08-18 09:06:20 -05:00
#!/usr/bin/env bash
set -e
echo "[BUILD] build system" 1>&2
mkdir -p build_system/target
rustc build_system/src/main.rs -o build_system/target/y -Cdebuginfo=1 --edition 2021
exec ./build_system/target/y "$@"