Disable time module on Wasm for now
				
					
				
			This commit is contained in:
		
							parent
							
								
									e2076612cb
								
							
						
					
					
						commit
						1501a93915
					
				| @ -14,7 +14,10 @@ mod runtime; | |||||||
| pub mod executor; | pub mod executor; | ||||||
| pub mod subscription; | pub mod subscription; | ||||||
| 
 | 
 | ||||||
| #[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"))))] | #[cfg_attr(docsrs, doc(cfg(any(feature = "tokio", feature = "async-std"))))] | ||||||
| pub mod time; | pub mod time; | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -190,7 +190,10 @@ pub mod settings; | |||||||
| pub mod widget; | pub mod widget; | ||||||
| pub mod window; | 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"))))] | #[cfg_attr(docsrs, doc(cfg(any(feature = "tokio", feature = "async-std"))))] | ||||||
| pub mod time; | pub mod time; | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user