Skip to content

Commit

Permalink
Fix non-x86 CPUs not compiling. (#34)
Browse files Browse the repository at this point in the history
Works fine on M1 macbook air.
  • Loading branch information
cjordan authored Jul 30, 2024
1 parent 36934e8 commit d3f33f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/model/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ pub(crate) fn get_cpu_info() -> String {
}

#[cfg(not(any(target_arch = "x86", target_arch = "x86_64")))]
Ok(format!("{} CPU", std::env::consts::ARCH));
format!("{} CPU", std::env::consts::ARCH)
}

/// An object that simulates sky-model visibilities.
Expand Down

0 comments on commit d3f33f2

Please sign in to comment.