Use 2021 edition for y.rs

This commit is contained in:
bjorn3 2022-10-28 09:54:05 +00:00
parent 5513583f3f
commit a24213d81b
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
use super::prepare;
use super::rustc_info::get_wrapper_file_name;
use super::utils::{cargo_command, hyperfine_command, spawn_and_wait, spawn_and_wait_with_input};
use build_system::SysrootKind;
use super::SysrootKind;
use std::env;
use std::ffi::OsStr;
use std::fs;

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