From e32e95278a2559d5a198e5ab949a2425fa2daf61 Mon Sep 17 00:00:00 2001 From: Adrien Aury <44274230+adrienaury@users.noreply.github.com> Date: Sun, 29 Sep 2024 09:05:01 +0000 Subject: [PATCH] fix: unsupported targets for parquet --- pkg/parquet/parquet.go | 7 +++++-- pkg/parquet/{parquet_wasm.go => parquet_dummy.go} | 4 ++-- pkg/parquet/parquet_test.go | 7 +++++-- 3 files changed, 12 insertions(+), 6 deletions(-) rename pkg/parquet/{parquet_wasm.go => parquet_dummy.go} (95%) diff --git a/pkg/parquet/parquet.go b/pkg/parquet/parquet.go index 753c0684..7db983ed 100755 --- a/pkg/parquet/parquet.go +++ b/pkg/parquet/parquet.go @@ -15,8 +15,11 @@ // You should have received a copy of the GNU General Public License // along with PIMO. If not, see . -//go:build !wasi && !wasm -// +build !wasi,!wasm +//go:build !wasm && !wasi && !(linux && 386) && !(windows && 386) +// +build !wasm +// +build !wasi +// +build !linux !386 +// +build !windows !386 package parquet diff --git a/pkg/parquet/parquet_wasm.go b/pkg/parquet/parquet_dummy.go similarity index 95% rename from pkg/parquet/parquet_wasm.go rename to pkg/parquet/parquet_dummy.go index 0e220277..56d9a0f2 100644 --- a/pkg/parquet/parquet_wasm.go +++ b/pkg/parquet/parquet_dummy.go @@ -15,8 +15,8 @@ // You should have received a copy of the GNU General Public License // along with PIMO. If not, see . -//go:build wasi || wasm -// +build wasi wasm +//go:build wasm || wasi || (linux && 386) || (windows && 386) +// +build wasm wasi linux,386 windows,386 package parquet diff --git a/pkg/parquet/parquet_test.go b/pkg/parquet/parquet_test.go index d4d08bee..b3aa85ba 100755 --- a/pkg/parquet/parquet_test.go +++ b/pkg/parquet/parquet_test.go @@ -15,8 +15,11 @@ // You should have received a copy of the GNU General Public License // along with PIMO. If not, see . -//go:build !wasi && !wasm -// +build !wasi,!wasm +//go:build !wasm && !wasi && !(linux && 386) && !(windows && 386) +// +build !wasm +// +build !wasi +// +build !linux !386 +// +build !windows !386 package parquet