aboutsummaryrefslogtreecommitdiffhomepage
path: root/goenv/goenv.go
diff options
context:
space:
mode:
Diffstat (limited to 'goenv/goenv.go')
-rw-r--r--goenv/goenv.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/goenv/goenv.go b/goenv/goenv.go
index be1c631ca..187bcc6df 100644
--- a/goenv/goenv.go
+++ b/goenv/goenv.go
@@ -159,6 +159,11 @@ func Get(name string) string {
}
return findWasmOpt()
+ case "WASMTOOLS":
+ if path := os.Getenv("WASMTOOLS"); path != "" {
+ return path
+ }
+ return "wasm-tools"
default:
return ""
}