diff --git a/Cargo.toml b/Cargo.toml index 7d4f62cd..ad89b105 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -45,7 +45,7 @@ sendfd = "0.4.1" serde = {version = "1", features = ["derive"]} serde_json = "1" thiserror = "2.0.12" -time = {version = "0.3.30", features = ["macros", "formatting", "local-offset"]} +time = {version = "0.3.41", features = ["macros", "formatting", "local-offset"]} tiny-skia = "0.11" tracing = { version = "0.1.37", features = ["max_level_debug", "release_max_level_info"] } tracing-journald = "0.3.0" diff --git a/src/state.rs b/src/state.rs index 4ad82dd2..beb606dd 100644 --- a/src/state.rs +++ b/src/state.rs @@ -510,15 +510,7 @@ impl State { .with_context(|| "Failed to load languages") .unwrap(); - #[cfg(feature = "profile-with-tracy")] - unsafe { - time::util::local_offset::set_soundness(time::util::local_offset::Soundness::Unsound); - } let local_offset = UtcOffset::current_local_offset().expect("No yet multithreaded"); - #[cfg(feature = "profile-with-tracy")] - unsafe { - time::util::local_offset::set_soundness(time::util::local_offset::Soundness::Sound); - } let clock = Clock::new(); let config = Config::load(&handle); let compositor_state = CompositorState::new::(dh);