you need to put the echo in a static block so it's run at compile time: 
    
    
    when nimvm:
      static:
        echo "compiling..."
    else:
      echo "running..."
    
    
    Run

Reply via email to