1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-17 20:47:50 +02:00

feat: support WASI (#4230)

`wasip1` is a valid `GOOS` value in the upcoming go 1.21.
This commit is contained in:
Carlos Alexandro Becker 2023-09-02 14:43:07 -03:00 committed by GitHub
parent dbf8e39c67
commit a14404f0f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -157,6 +157,7 @@ var (
"illumosamd64",
"iosarm64",
"jswasm",
"wasip1wasm",
"linux386",
"linuxamd64",
"linuxarm",
@ -202,6 +203,7 @@ var (
"plan9",
"solaris",
"windows",
"wasip1",
}
validGoarch = []string{

View File

@ -19,6 +19,7 @@ func TestAllBuildTargets(t *testing.T) {
"windows",
"js",
"ios",
"wasip1",
},
Goarch: []string{
"386",
@ -111,6 +112,7 @@ func TestAllBuildTargets(t *testing.T) {
"windows_arm64",
"js_wasm",
"ios_arm64",
"wasip1_wasm",
}, result)
})