Skip to content

Commit d6dce83

Browse files
committed
disable warnings_into_errors instead
Signed-off-by: Jay Lee <[email protected]>
1 parent 63fae55 commit d6dce83

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jemalloc-sys/build.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,8 @@ fn main() {
147147
}
148148
let mut build = cc::Build::new();
149149
if env::var("JEMALLOC_SYS_RUN_JEMALLOC_TESTS").is_err() {
150-
// Disable -Wall unless in CI.
151-
build.warnings(false);
150+
// Disable -Werror unless in CI.
151+
build.warnings_into_errors(false);
152152
}
153153
let compiler = build.get_compiler();
154154
let cflags = compiler

0 commit comments

Comments
 (0)