diff options
-rw-r--r-- | .gn | 2 | ||||
-rw-r--r-- | build_extra/rust/BUILD.gn | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -32,7 +32,7 @@ default_args = { is_component_build = false symbol_level = 1 - treat_warnings_as_errors = false + treat_warnings_as_errors = true rust_treat_warnings_as_errors = true # https://cs.chromium.org/chromium/src/docs/ccache_mac.md diff --git a/build_extra/rust/BUILD.gn b/build_extra/rust/BUILD.gn index 10f4da6a2..e40a19b03 100644 --- a/build_extra/rust/BUILD.gn +++ b/build_extra/rust/BUILD.gn @@ -776,6 +776,9 @@ component("ring_primitives") { "$ring_root/pregenerated/x86_64-mont-nasm.obj", "$ring_root/pregenerated/x86_64-mont5-nasm.obj", ] + + # Disable warning: '_addcarry_u64' is not a recognized builtin + cflags = [ "-Wno-ignored-pragma-intrinsic" ] } include_dirs = [ "$ring_root/include/" ] } |