Workaround bug in rustc when panicking for -Cpanic=abort

This commit is contained in:
bjorn3 2023-01-19 15:53:52 +00:00
parent dfaeab8c5c
commit 7b83e16d5b

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 -Cpanic=abort
rustc $0 -o ${0/.rs/.bin} -Cdebuginfo=1 --edition 2021
exec ${0/.rs/.bin} $@
*/