From c7dbccfedce97368b30201cd728e660df36e4f99 Mon Sep 17 00:00:00 2001 From: Denys Smirnov Date: Sat, 2 Sep 2023 13:47:22 +0300 Subject: [PATCH] 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. --- interp/build.go | 1 + 1 file changed, 1 insertion(+) diff --git a/interp/build.go b/interp/build.go index 85c1ac908..4e5e8871d 100644 --- a/interp/build.go +++ b/interp/build.go @@ -182,6 +182,7 @@ var knownOs = map[string]bool{ "openbsd": true, "plan9": true, "solaris": true, + "wasip1": true, "windows": true, }