Skip to content

Commit

Permalink
fix: unexpected cfgs
Browse files Browse the repository at this point in the history
  • Loading branch information
0xWOLAND committed Aug 23, 2024
1 parent 2b5d426 commit 3ada519
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 3ada519

Please sign in to comment.