Skip to content

Commit 529da8e

Browse files
committed
Quiet warning if there are no tests generated
1 parent 6a448e0 commit 529da8e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/build.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1417,6 +1417,7 @@ fn generate_rom_tests(rom_dir: &str, expectations_dir: &str, module: &str) {
14171417
let mut out = File::create(&output_file).unwrap();
14181418
let mut tokens = TokenStream::new();
14191419
tokens.extend(quote! {
1420+
#![allow(unused_imports)]
14201421
use crate::game_boy_emulator::Result;
14211422
use super::{do_rom_test, do_save_state_rom_test};
14221423
});

0 commit comments

Comments
 (0)