Skip to content

Commit

Permalink
disable warnings_into_errors instead
Browse files Browse the repository at this point in the history
Signed-off-by: Jay Lee <BusyJayLee@gmail.com>
  • Loading branch information
BusyJay committed Feb 6, 2025
1 parent 63fae55 commit d6dce83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jemalloc-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ fn main() {
}
let mut build = cc::Build::new();
if env::var("JEMALLOC_SYS_RUN_JEMALLOC_TESTS").is_err() {
// Disable -Wall unless in CI.
build.warnings(false);
// Disable -Werror unless in CI.
build.warnings_into_errors(false);
}
let compiler = build.get_compiler();
let cflags = compiler
Expand Down

0 comments on commit d6dce83

Please sign in to comment.