tools-external.go raw

   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: Moxie 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  }
  16