Set panic=abort for the build system

This saves about 60ms of build time
This commit is contained in:
bjorn3 2023-01-13 15:55:17 +00:00
parent be8f656fac
commit 288c067863

2
y.rs
View File

@ -3,7 +3,7 @@
# This block is ignored by rustc
set -e
echo "[BUILD] y.rs" 1>&2
rustc $0 -o ${0/.rs/.bin} -Cdebuginfo=1 --edition 2021
rustc $0 -o ${0/.rs/.bin} -Cdebuginfo=1 --edition 2021 -Cpanic=abort
exec ${0/.rs/.bin} $@
*/