diff options
| author | 2020-04-30 05:51:41 +0200 | |
|---|---|---|
| committer | 2020-04-30 05:51:41 +0200 | |
| commit | 1501a93915b3704a1d57da4c390a8ebca4e35c8b (patch) | |
| tree | dca7cc566507b058cfff7b88e57dd03a1c59fe77 /src | |
| parent | e2076612cb98d04a8a48add14d0068c2974d5653 (diff) | |
| download | iced-1501a93915b3704a1d57da4c390a8ebca4e35c8b.tar.gz iced-1501a93915b3704a1d57da4c390a8ebca4e35c8b.tar.bz2 iced-1501a93915b3704a1d57da4c390a8ebca4e35c8b.zip  | |
Disable `time` module on Wasm for now
Diffstat (limited to '')
| -rw-r--r-- | src/lib.rs | 5 | 
1 files changed, 4 insertions, 1 deletions
@@ -190,7 +190,10 @@ pub mod settings;  pub mod widget;  pub mod window; -#[cfg(any(feature = "tokio", feature = "async-std"))] +#[cfg(all( +    any(feature = "tokio", feature = "async-std"), +    not(target_arch = "wasm32") +))]  #[cfg_attr(docsrs, doc(cfg(any(feature = "tokio", feature = "async-std"))))]  pub mod time;  | 
