Skip to content

Commit

Permalink
mac fix
Browse files Browse the repository at this point in the history
  • Loading branch information
RCasatta committed Apr 5, 2023
1 parent 5eeb733 commit 66a5d09
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,7 @@ mod download {
any(target_arch = "x86_64", target_arch = "aarch64"),
))]
fn download_filename() -> String {
if cfg!(any(
feature = "22_0",
feature = "0_21_1",
feature = "0_21_0",
feature = "0_20_1",
feature = "0_20_0",
feature = "0_19_1",
feature = "0_19_0_1",
feature = "0_18_1",
feature = "0_18_0",
feature = "0_17_1",
)) {
if cfg!(not(feature = "23_0")) {
format!("bitcoin-{}-osx64.tar.gz", &VERSION)
} else {
format!("bitcoin-{}-x86_64-apple-darwin.tar.gz", &VERSION)
Expand Down

0 comments on commit 66a5d09

Please sign in to comment.