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:
parent
dbf8e39c67
commit
a14404f0f3
@ -157,6 +157,7 @@ var (
|
||||
"illumosamd64",
|
||||
"iosarm64",
|
||||
"jswasm",
|
||||
"wasip1wasm",
|
||||
"linux386",
|
||||
"linuxamd64",
|
||||
"linuxarm",
|
||||
@ -202,6 +203,7 @@ var (
|
||||
"plan9",
|
||||
"solaris",
|
||||
"windows",
|
||||
"wasip1",
|
||||
}
|
||||
|
||||
validGoarch = []string{
|
||||
|
@ -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)
|
||||
})
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user