From 904d2897c961e79e9d723d532314ce801e79f3a4 Mon Sep 17 00:00:00 2001 From: Kalle Fagerberg Date: Tue, 8 Aug 2023 17:41:11 +0200 Subject: [PATCH] Add wasip1 build flags --- const_bsds.go | 4 ++-- const_win_unix.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/const_bsds.go b/const_bsds.go index 30855de5..4c960f28 100644 --- a/const_bsds.go +++ b/const_bsds.go @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build aix || darwin || openbsd || freebsd || netbsd || dragonfly || zos -// +build aix darwin openbsd freebsd netbsd dragonfly zos +//go:build aix || darwin || openbsd || freebsd || netbsd || dragonfly || zos || wasip1 +// +build aix darwin openbsd freebsd netbsd dragonfly zos wasip1 package afero diff --git a/const_win_unix.go b/const_win_unix.go index 12792d21..2218d2bc 100644 --- a/const_win_unix.go +++ b/const_win_unix.go @@ -10,8 +10,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -//go:build !darwin && !openbsd && !freebsd && !dragonfly && !netbsd && !aix && !zos -// +build !darwin,!openbsd,!freebsd,!dragonfly,!netbsd,!aix,!zos +//go:build !darwin && !openbsd && !freebsd && !dragonfly && !netbsd && !aix && !zos && !wasip1 +// +build !darwin,!openbsd,!freebsd,!dragonfly,!netbsd,!aix,!zos,!wasip1 package afero