Skip to content

Commit

Permalink
supress warning for risc zero builds
Browse files Browse the repository at this point in the history
  • Loading branch information
jjtny1 committed Sep 12, 2023
1 parent 908b7d6 commit 41981f1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion curve25519-dalek/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,9 @@ mod deterministic {
let platform = match platforms::Platform::find(&target_triplet) {
Some(p) => p,
None => {
determine_curve25519_dalek_bits_warning(ERR_MSG_NO_PLATFORM);
if target_triplet != "riscv32im-risc0-zkvm-elf" {
determine_curve25519_dalek_bits_warning(ERR_MSG_NO_PLATFORM);
}
return DalekBits::Dalek32;
}
};
Expand Down

0 comments on commit 41981f1

Please sign in to comment.