From b6d05c44c51df20b202a2f586d040c9b6c1e98a0 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Mon, 29 Jul 2024 16:02:27 +0200 Subject: [PATCH] rust/src/lib.rs: affirm a deliberate choice triggering a warning. --- rust/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rust/src/lib.rs b/rust/src/lib.rs index f047ff0..0ff7144 100644 --- a/rust/src/lib.rs +++ b/rust/src/lib.rs @@ -2,6 +2,8 @@ // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 +#![allow(unexpected_cfgs)] + // Declare C/C++ counterpart as following: // extern "C" { fn foobar(...) -> sppark::Error; } #[repr(C)]