Skip to content

Commit 09b0a78

Browse files
committed
Merge rust-bitcoin/bitcoind#38: Add M1 target arch to bitcoin download
4c1d432 Add M1 target arch to bitcoin download (Charlie Little) Pull request description: Resolves Blockstream#36 Top commit has no ACKs. Tree-SHA512: d96911d7bbb2c323196c49bcc132eb43e471b2bceca4d1df9d1394d873793fa84475177d52117ec775e833e2b2baa59f9bf6cc2876fb0c9f8a6601714518b24c
2 parents 83fac71 + 4c1d432 commit 09b0a78

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

build.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ use tar::Archive;
88

99
include!("src/versions.rs");
1010

11-
#[cfg(all(target_os = "macos", target_arch = "x86_64"))]
11+
#[cfg(all(
12+
target_os = "macos",
13+
any(target_arch = "x86_64", target_arch = "aarch64")
14+
))]
1215
fn download_filename() -> String {
1316
format!("bitcoin-{}-osx64.tar.gz", &VERSION)
1417
}

0 commit comments

Comments
 (0)