Skip to content

Commit 585abff

Browse files
committed
Fix cfg flags
1 parent 7f0d796 commit 585abff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hdf5-conda/build.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,9 @@ const DOWNLOAD_BINARY: &str = {
7575
"linux-64/hdf5-1.12.1-nompi_h2750804_102.tar.bz2"
7676
} else if #[cfg(all(target_os = "linux", target_arch = "aarch64"))] {
7777
"linux-aarch64/hdf5-1.12.1-nompi_h774d4d8_102.tar.bz2"
78-
} else if #[cfg(any(target_os = "macos", target_arch = "x86_64"))] {
78+
} else if #[cfg(all(target_os = "macos", target_arch = "x86_64"))] {
7979
"osx-64/hdf5-1.12.1-nompi_h2f0ef1a_102.tar.bz2"
80-
} else if #[cfg(any(target_os = "windows", target_arch = "x86_64"))] {
80+
} else if #[cfg(all(target_os = "windows", target_arch = "x86_64"))] {
8181
"win-64/hdf5-1.12.1-nompi_h57737ce_102.tar.bz2"
8282
} else {
8383
compile_error!("This package can not be used on this arch");

0 commit comments

Comments
 (0)