Skip to content

Commit

Permalink
Disable -Werror in Jolt/JoltC builds
Browse files Browse the repository at this point in the history
  • Loading branch information
LPGhatguy committed Jun 27, 2024
1 parent dd8c143 commit a416f0b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions crates/joltc-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ fn build_joltc() {
// Having IPO/LTO turned on breaks lld on Windows.
config.configure_arg("-DINTERPROCEDURAL_OPTIMIZATION=OFF");

// Warnings when building Jolt or JoltC don't matter to users of joltc-sys.
config.configure_arg("-DENABLE_ALL_WARNINGS=OFF");

// These feature flags go through CMake and affect compilation of both Jolt
// and JoltC.
if cfg!(feature = "double-precision") {
Expand Down

0 comments on commit a416f0b

Please sign in to comment.