Skip to main content

Compile the code with warnings-as-errors

ID
a964682
date
2024-08-20 00:04:30+00:00
author
Alex Chan <alex@alexwlchan.net>
parent
d9035c3
message
Compile the code with warnings-as-errors
changed files
1 file, 2 additions

Changed files

src/main.rs (3806) → src/main.rs (3826)

diff --git a/src/main.rs b/src/main.rs
index 01d72ac..b295e45 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,3 +1,5 @@
+#![deny(warnings)]
+
 use std::io;
 use std::path::PathBuf;
 use std::process::Command;