From 3ada5190d6b27e0d484f6f965a7fe8ee2022cca4 Mon Sep 17 00:00:00 2001 From: Bhargav Annem Date: Fri, 23 Aug 2024 14:32:59 -0700 Subject: [PATCH] fix: unexpected cfgs --- build.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.rs b/build.rs index a7e33d2..127506b 100644 --- a/build.rs +++ b/build.rs @@ -4,6 +4,7 @@ include!("src/enums.rs"); include!("src/consts.rs"); include!("src/pairings.rs"); +#[allow(unexpected_cfgs)] #[cfg(not(target_os = "riscv32imac-unknown-none-elf"))] fn main() { use std::{fs, io::Write, path::Path}; @@ -229,6 +230,7 @@ fn main() { g2_file.write_all(&g2_bytes).unwrap(); } +#[allow(unexpected_cfgs)] #[cfg(target_os = "riscv32imac-unknown-none-elf")] fn main() { // Binaries cannot be built in a RISC-V environment