]> git.lizzy.rs Git - rust.git/blobdiff - y.rs
Don't hard-code rustc path in get_rustc_version and get_default_sysroot
[rust.git] / y.rs
diff --git a/y.rs b/y.rs
index f177b91c2c4876a4ac7b62dd653a3e4ea0857453..fd825d02e355c0bfd3f58a6a8e99a33806ab33be 100755 (executable)
--- a/y.rs
+++ b/y.rs
@@ -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
+rustc $0 -o ${0/.rs/.bin} -Cdebuginfo=1 --edition 2021 -Cpanic=abort
 exec ${0/.rs/.bin} $@
 */