Skip to content

Commit

Permalink
Workaround bug in rustc when panicking for -Cpanic=abort
Browse files Browse the repository at this point in the history
  • Loading branch information
bjorn3 committed Apr 13, 2023
1 parent dfaeab8 commit 7b83e16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion y.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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} $@
*/

Expand Down

0 comments on commit 7b83e16

Please sign in to comment.