Remove deprecated call to time's set_soundness function
No longer required.
This commit is contained in:
parent
d3822d161a
commit
b4db2498de
2 changed files with 1 additions and 9 deletions
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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::<Self>(dh);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue