diff options
| author | Laura Peskin <pesk@google.com> | 2024-07-03 14:15:53 -0700 |
|---|---|---|
| committer | eepeep <50846949+eepeep@users.noreply.github.com> | 2024-10-30 22:17:56 +0000 |
| commit | 96eb609f6eb9558e2fab491a2c63a11bb0556471 (patch) | |
| tree | 5f0522570f4da8f0261330d8fe6a02d5e0baa6af /vm/starnix | |
| parent | fb888278a6b21eda7fa63551c83fd17b90305ba1 (diff) | |
pkg/build: add build command for starnix
Co-authored-by: eep@google.com
Diffstat (limited to 'vm/starnix')
| -rw-r--r-- | vm/starnix/starnix.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vm/starnix/starnix.go b/vm/starnix/starnix.go index 2876d42f9..a90cc9d96 100644 --- a/vm/starnix/starnix.go +++ b/vm/starnix/starnix.go @@ -116,7 +116,7 @@ func (pool *Pool) Create(workdir string, index int) (vmimpl.Instance, error) { }() var err error - inst.ffxBinary, err = getToolPath(inst.fuchsiaDir, "ffx") + inst.ffxBinary, err = GetToolPath(inst.fuchsiaDir, "ffx") if err != nil { return nil, err } @@ -478,7 +478,7 @@ type toolMetadata struct { } // Resolve a tool by name using tool_paths.json in the build dir. -func getToolPath(fuchsiaDir, toolName string) (string, error) { +func GetToolPath(fuchsiaDir, toolName string) (string, error) { buildDir, err := getFuchsiaBuildDir(fuchsiaDir) if err != nil { return "", err |
