main_native.go raw

   1  //go:build !js
   2  
   3  // This stub keeps the command package buildable on native targets. The
   4  // browser bundle is built with -target wasm.
   5  package main
   6  
   7  import (
   8  	"fmt"
   9  	"os"
  10  )
  11  
  12  func main() {
  13  	fmt.Fprintln(os.Stderr, "nostrino-wasm is built with: tinygo build -target wasm ./cmd/nostrino-wasm")
  14  	os.Exit(1)
  15  }
  16