From c83bced014d26c140ee4249f408a563d57f461b7 Mon Sep 17 00:00:00 2001 From: Andrei Zisu Date: Tue, 5 Dec 2023 23:25:31 +0100 Subject: [PATCH] Quiet out some litehtml warnings I reported them upstream to see if there's interest in fixing them. --- app/build.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/build.rs b/app/build.rs index a4d6bcd..db61b0e 100644 --- a/app/build.rs +++ b/app/build.rs @@ -41,6 +41,9 @@ fn main() { .file("lib/litehtml_container/container.cpp") .file("lib/litehtml_container/setup.cpp") .include(&include_path) + .flag("-Wno-unused-parameter") + .flag("-Wno-reorder") + .flag("-Wno-switch") .compile("litehtml_container"); // Create the Rust bindings for the C++ code