From 8f331e8de3f3ee8b37f6aeb8e676e12ef0f1070f Mon Sep 17 00:00:00 2001 From: Bhargav Annem Date: Fri, 23 Aug 2024 14:37:38 -0700 Subject: [PATCH] fix: spacing --- build.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build.rs b/build.rs index 127506b..e9a9d6e 100644 --- a/build.rs +++ b/build.rs @@ -4,8 +4,8 @@ include!("src/enums.rs"); include!("src/consts.rs"); include!("src/pairings.rs"); -#[allow(unexpected_cfgs)] #[cfg(not(target_os = "riscv32imac-unknown-none-elf"))] +#[allow(unexpected_cfgs)] fn main() { use std::{fs, io::Write, path::Path}; #[derive(Debug, Clone, PartialEq, Eq)] @@ -230,8 +230,9 @@ fn main() { g2_file.write_all(&g2_bytes).unwrap(); } -#[allow(unexpected_cfgs)] + #[cfg(target_os = "riscv32imac-unknown-none-elf")] +#[allow(unexpected_cfgs)] fn main() { // Binaries cannot be built in a RISC-V environment }