WIP implementing handling #[cfg] and #[cfg_attr] in proc macro inputs
This commit is contained in:
		
							parent
							
								
									831c9e28d9
								
							
						
					
					
						commit
						b7ec623bfa
					
				
					 4 changed files with 2093 additions and 11 deletions
				
			
		|  | @ -27,3 +27,12 @@ pub fn hdl( | |||
|         Err(err) => err.into_compile_error().into(), | ||||
|     } | ||||
| } | ||||
| 
 | ||||
| #[doc(hidden)] | ||||
| #[proc_macro] | ||||
| pub fn __after_cfg_expansion(input: proc_macro::TokenStream) -> proc_macro::TokenStream { | ||||
|     match fayalite_proc_macros_impl::after_cfg_expansion(input.into()) { | ||||
|         Ok(retval) => retval.into(), | ||||
|         Err(err) => err.into_compile_error().into(), | ||||
|     } | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue