diff options
author | 2024-01-17 08:12:44 +0100 | |
---|---|---|
committer | 2024-01-17 08:12:44 +0100 | |
commit | 0001a6d63642b299531ff089f961732a1bfa2339 (patch) | |
tree | 7b100257baf72dbceccf5c3343abf3a6b9f1db03 /core/src/time.rs | |
parent | c4ba657de86d7606587dad5124f435141258f570 (diff) | |
parent | 985acb2b1532b3e56161bd35201c4a2e21a86b85 (diff) | |
download | iced-0001a6d63642b299531ff089f961732a1bfa2339.tar.gz iced-0001a6d63642b299531ff089f961732a1bfa2339.tar.bz2 iced-0001a6d63642b299531ff089f961732a1bfa2339.zip |
Merge pull request #2169 from iced-rs/update-winit
Update `winit` to `0.29`
Diffstat (limited to 'core/src/time.rs')
-rw-r--r-- | core/src/time.rs | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/core/src/time.rs b/core/src/time.rs index 9355ae6d..dcfe4e41 100644 --- a/core/src/time.rs +++ b/core/src/time.rs @@ -1,13 +1,4 @@ //! Keep track of time, both in native and web platforms! -#[cfg(target_arch = "wasm32")] -pub use instant::Instant; - -#[cfg(target_arch = "wasm32")] -pub use instant::Duration; - -#[cfg(not(target_arch = "wasm32"))] -pub use std::time::Instant; - -#[cfg(not(target_arch = "wasm32"))] -pub use std::time::Duration; +pub use web_time::Duration; +pub use web_time::Instant; |