From 45d7e74abfe31ab47965d62b1c2d5c06c823e333 Mon Sep 17 00:00:00 2001 From: Ralph Giles Date: Tue, 6 Aug 2024 08:23:14 -0400 Subject: [PATCH] Remove unused cbindgen cfg_attr This looks like it was used for the convenience of low-level bindings, but our current bindings are higher level, and this is unused. Addresses a warning about the reference to an undeclared feature in rust 1.80.0. --- adss/src/lib.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/adss/src/lib.rs b/adss/src/lib.rs index 8ae7448f..f6f1a70c 100644 --- a/adss/src/lib.rs +++ b/adss/src/lib.rs @@ -110,7 +110,6 @@ impl From for Sharks { /// "random coins" which provide strong but possibly non-uniform /// entropy and an optional STROBE transcript which can include /// extra data which will be authenticated. -#[cfg_attr(not(feature = "cbindgen"), repr(C))] #[allow(non_snake_case)] #[derive(Clone, ZeroizeOnDrop)] pub struct Commune {