From 7664fc8d7f02f631aeac7ab81e86b3633ae2d2f0 Mon Sep 17 00:00:00 2001 From: Manon Oomen Date: Thu, 18 Apr 2024 16:34:47 +0200 Subject: [PATCH] Ignore C/C++ warnings. --- sys/build.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/build.rs b/sys/build.rs index 2e7ed62..77fbd10 100644 --- a/sys/build.rs +++ b/sys/build.rs @@ -73,7 +73,8 @@ fn build_fsr3(api_dir: &Path, vk_include_dir: &Path) { // TODO: Shader permutations are only available for Dx12 currently // TODO: Generalize folder name .include("FidelityFX-FSR3/shader_permutations/dx12") - .include(vk_include_dir); + .include(vk_include_dir) + .warnings(false); if std::env::var("CARGO_CFG_UNIX").is_ok() { build.define("FFX_GCC", "1").std("c++2a");