Update winit to 0.29.4
This commit is contained in:
parent
dd249a1d11
commit
e819c2390b
19 changed files with 654 additions and 846 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue