aboutsummaryrefslogtreecommitdiffhomepage
path: root/builder/tools-external.go
blob: d85886271189f7d314639831977c3a7963a3ba34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//go:build !byollvm

package builder

import "errors"

const hasBuiltinTools = false

// RunTool runs the given tool (such as clang).
//
// This version doesn't actually run the tool: TinyGo has not been compiled by
// statically linking to LLVM.
func RunTool(tool string, args ...string) error {
	return errors.New("cannot run tool: " + tool)
}