Fix proc-macro-test build script

This commit is contained in:
Lukas Wirth 2024-06-30 16:26:39 +02:00
parent 2fb38ceb66
commit b0c4bc4972
2 changed files with 17 additions and 10 deletions

View file

@ -30,8 +30,7 @@ fn main() {
if !has_features {
println!("proc-macro-test testing only works on nightly toolchains");
let info_path = out_dir.join("proc_macro_test_location.txt");
fs::File::create(info_path).unwrap();
println!("cargo::rustc-env=PROC_MACRO_TEST_LOCATION=\"\"");
return;
}