Skip to content

Commit 249971e

Browse files
authored
build(prospero): Reduce debug warnings while building the crate (#4721)
1 parent 31dcb8f commit 249971e

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

relay-prosperoconv/build.rs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,12 @@ fn main() {
2020

2121
match fs::read_to_string("src/lib.rs") {
2222
Ok(content) if !content.trim().is_empty() => {
23-
println!("cargo:warning=PlayStation files already present, skipping setup");
2423
return;
2524
}
26-
_ => {
27-
println!("cargo:warning=Setting up PlayStation support");
28-
}
25+
_ => {}
2926
}
3027

28+
println!("cargo:warning=Setting up PlayStation support");
3129
let temp_dir = tempdir().expect("Failed to make temp_dir");
3230
let temp_dir_path = temp_dir.path();
3331
let temp_dir_str = temp_dir_path.to_string_lossy().to_string();
@@ -72,6 +70,4 @@ fn main() {
7270
.args(["update-index", "--skip-worktree", "src/lib.rs"])
7371
.status()
7472
.expect("Failed to skip worktree");
75-
76-
println!("cargo:warning=Finished setting up");
7773
}

0 commit comments

Comments
 (0)