We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
-w
warnings
1 parent ad8e47c commit d23eb77Copy full SHA for d23eb77
1 file changed
src/lib.rs
@@ -239,7 +239,7 @@ impl Build {
239
240
config
241
.include(&source_dir)
242
- .flag("-w") // Suppress all warnings
+ .warnings(false) // Suppress all warnings
243
.flag_if_supported("-fno-common") // Compile common globals like normal definitions
244
.add_files_by_ext(&source_dir, "c")?
245
.out_dir(&lib_dir)
0 commit comments