Source file src/cmd/go/internal/base/exec_stub.go

     1  // Copyright 2023 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  //go:build js || wasip1
     6  
     7  package base
     8  
     9  import "log"
    10  
    11  func Exec(name, exe string) {
    12  	log.SetPrefix("go: ")
    13  	Fatalf("exec %s unsupported", name)
    14  }
    15  

View as plain text