From 58fa08a459059eb1dafd979b9693718df670baa4 Mon Sep 17 00:00:00 2001 From: Fabricio Date: Fri, 1 Mar 2024 18:38:22 +0000 Subject: [PATCH] Disable guesser using build tags (#148) --- internal/renderer/{guess_arm64.go => guess.go} | 2 +- internal/renderer/guess_amd64.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename internal/renderer/{guess_arm64.go => guess.go} (87%) diff --git a/internal/renderer/guess_arm64.go b/internal/renderer/guess.go similarity index 87% rename from internal/renderer/guess_arm64.go rename to internal/renderer/guess.go index 35e9d81..635caf5 100644 --- a/internal/renderer/guess_arm64.go +++ b/internal/renderer/guess.go @@ -1,4 +1,4 @@ -//go:build arm64 +//go:build arm64 || noguesser package renderer diff --git a/internal/renderer/guess_amd64.go b/internal/renderer/guess_amd64.go index 920d9b7..be73a8f 100644 --- a/internal/renderer/guess_amd64.go +++ b/internal/renderer/guess_amd64.go @@ -1,4 +1,4 @@ -//go:build amd64 +//go:build amd64 && !noguesser package renderer