Skip to content

Commit

Permalink
Fix startup crash in x86_64-apple-darwin targets running on Apple s…
Browse files Browse the repository at this point in the history
…ilicon (#82)
  • Loading branch information
TicClick authored Feb 6, 2024
1 parent 155d155 commit bdfba51
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "steel"
version = "0.7.0"
version = "0.7.1"
edition = "2021"
build = "src/build.rs"

3 changes: 2 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
@@ -26,7 +26,8 @@ fn setup_logging() {
simplelog::ConfigBuilder::new()
.set_time_format_custom(time_format)
.set_time_offset_to_local()
.unwrap()
// https://github.com/jhpratt/num_threads/issues/18 -- time = "0.3.34" compiled to x86_64-apple-darwin can't determine UTC offset on Apple silicon (aarch64-apple-darwin)
.unwrap_or_else(|e| e)
.build(),
file,
)

0 comments on commit bdfba51

Please sign in to comment.