WIP: use HdlOption[the_type_var] or UInt[123 + n] for creating types
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				/ test (push) Successful in 14s
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	/ test (push) Successful in 14s
				
			This commit is contained in:
		
							parent
							
								
									cd99dbc849
								
							
						
					
					
						commit
						8060ca84de
					
				
					 21 changed files with 7494 additions and 7304 deletions
				
			
		|  | @ -24,3 +24,15 @@ pub fn value_derive(item: proc_macro::TokenStream) -> proc_macro::TokenStream { | |||
|         Err(err) => err.into_compile_error().into(), | ||||
|     } | ||||
| } | ||||
| 
 | ||||
| // intentionally not documented here, see `fayalite::hdl` for docs
 | ||||
| #[proc_macro_attribute] | ||||
| pub fn hdl( | ||||
|     attr: proc_macro::TokenStream, | ||||
|     item: proc_macro::TokenStream, | ||||
| ) -> proc_macro::TokenStream { | ||||
|     match fayalite_proc_macros_impl::hdl_attr(attr.into(), item.into()) { | ||||
|         Ok(retval) => retval.into(), | ||||
|         Err(err) => err.into_compile_error().into(), | ||||
|     } | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue