File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed 
src/hyperlight_component_macro/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ use hyperlight_component_util::*;
6565/// Hyperlight. 
6666#[ proc_macro]  
6767pub  fn  host_bindgen ( input :  proc_macro:: TokenStream )  -> proc_macro:: TokenStream  { 
68-     env_logger:: init ( ) ; 
68+     let  _ =  env_logger:: try_init ( ) ; 
6969    let  path:  Option < syn:: LitStr >  = syn:: parse_macro_input!( input as  Option <syn:: LitStr >) ; 
7070    let  path = path
7171        . map ( |x| x. value ( ) . into ( ) ) 
@@ -88,7 +88,7 @@ pub fn host_bindgen(input: proc_macro::TokenStream) -> proc_macro::TokenStream {
8888/// into the Hyperlight host). 
8989#[ proc_macro]  
9090pub  fn  guest_bindgen ( input :  proc_macro:: TokenStream )  -> proc_macro:: TokenStream  { 
91-     env_logger:: init ( ) ; 
91+     let  _ =  env_logger:: try_init ( ) ; 
9292    let  path:  Option < syn:: LitStr >  = syn:: parse_macro_input!( input as  Option <syn:: LitStr >) ; 
9393    let  path = path
9494        . map ( |x| x. value ( ) . into ( ) ) 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments