Skip to content

Commit

Permalink
Disable warnings as errors
Browse files Browse the repository at this point in the history
In particular for apple arm builds some variables show up as unused.
These unused warnings result in compilation errors. Disabling all
warnings as errors.
  • Loading branch information
nick-mobilecoin committed Jan 3, 2024
1 parent c0a12c7 commit 8e7648f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mbedtls-sys/build/cmake.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ impl super::BuildConfig {
))
.define("ENABLE_PROGRAMS", "OFF")
.define("ENABLE_TESTING", "OFF")
.define("MBEDTLS_FATAL_WARNINGS", "OFF")
.build_target("lib");
for cflag in &self.cflags {
cmk.cflag(cflag);
Expand Down

0 comments on commit 8e7648f

Please sign in to comment.