Skip to content

Commit da27c4f

Browse files
authored
interp: Add wasip1 to known OS list
Adds `wasip1` to known OS list, introduced in golang/go#58141. Without this change, `yaegi extract` may fail on Go 1.21 with the following message: ``` type-checking package "time" failed (<GOROOT>/src/time/zoneinfo_wasip1.go:8:5: platformZoneSources redeclared in this block) ```
1 parent f5b5481 commit da27c4f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

interp/build.go

+1
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ var knownOs = map[string]bool{
182182
"openbsd": true,
183183
"plan9": true,
184184
"solaris": true,
185+
"wasip1": true,
185186
"windows": true,
186187
}
187188

0 commit comments

Comments
 (0)