Skip to content

Commit

Permalink
Turn off all warnings when testing for strlcpy
Browse files Browse the repository at this point in the history
  • Loading branch information
jean-airoldie committed Jul 5, 2024
1 parent 061e966 commit b886af7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ mod glibc {

cc::Build::new()
.warnings(false)
.extra_warnings(false)
.cargo_warnings(false)
.cargo_metadata(false)
.get_compiler()
.to_command()
.arg(src)
Expand Down

0 comments on commit b886af7

Please sign in to comment.