Wouldn't it be better to change it to add this outside the procedure:
    
    
    proc NimMain() {.importc, cdecl.}
    
    
    Run

and then this instead of the emit:
    
    
    NimMain() # This is now just a normal Nim call
    
    
    Run

Reply via email to