github.com/tinygo-org/tinygo@v0.31.3-0.20240404173401-90b0bf646c27/builder/tools-external.go (about)

     1  //go:build !byollvm
     2  
     3  package builder
     4  
     5  import "errors"
     6  
     7  const hasBuiltinTools = false
     8  
     9  // RunTool runs the given tool (such as clang).
    10  //
    11  // This version doesn't actually run the tool: TinyGo has not been compiled by
    12  // statically linking to LLVM.
    13  func RunTool(tool string, args ...string) error {
    14  	return errors.New("cannot run tool: " + tool)
    15  }