Skip to content

Commit 6f08f75

Browse files
committed
Add linux aarch64 target
1 parent f05c3ac commit 6f08f75

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

build.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ fn download_filename() -> String {
2121
format!("bitcoin-{}-x86_64-linux-gnu.tar.gz", &VERSION)
2222
}
2323

24+
#[cfg(all(target_os = "linux", target_arch = "aarch64"))]
25+
fn download_filename() -> String {
26+
format!("bitcoin-{}-aarch64-linux-gnu.tar.gz", &VERSION)
27+
}
28+
2429
fn get_expected_sha256(filename: &str) -> Result<sha256::Hash, ()> {
2530
let sha256sums_filename = format!("sha256/bitcoin-core-{}-SHA256SUMS", &VERSION);
2631
#[cfg(any(

0 commit comments

Comments
 (0)