Skip to content

Commit

Permalink
chore: Remove panic on arm64 linux builds for bb binary at compile ti…
Browse files Browse the repository at this point in the history
…me (#3527)
  • Loading branch information
kevaundray authored Nov 22, 2023
1 parent 286c876 commit 8230c47
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tooling/bb_abstraction_leaks/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,12 @@ fn main() -> Result<(), String> {
};

// Arm builds of linux are not supported
// We do not panic because we allow users to run nargo without a backend.
if let (Os::Linux, Arch::AARCH64) = (&os, &arch) {
panic!("ARM64 builds of linux are not supported")
println!(
"cargo:warning=ARM64 builds of linux are not supported for the barretenberg binary"
);
return Ok(());
};

println!("cargo:rustc-env=BB_BINARY_URL={}", get_bb_download_url(arch, os));
Expand Down

0 comments on commit 8230c47

Please sign in to comment.