From 1f6d316ff3faaa044d40f23a71136792e472d71d Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Thu, 28 Oct 2021 14:04:12 +0300 Subject: [PATCH] Update build tags --- crypto.go | 1 + database/cryptostore.go | 1 + no-crypto.go | 1 + 3 files changed, 3 insertions(+) diff --git a/crypto.go b/crypto.go index bf1ed4d..402e8f4 100644 --- a/crypto.go +++ b/crypto.go @@ -14,6 +14,7 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . +//go:build cgo && !nocrypto // +build cgo,!nocrypto package main diff --git a/database/cryptostore.go b/database/cryptostore.go index 618d150..872a9d6 100644 --- a/database/cryptostore.go +++ b/database/cryptostore.go @@ -14,6 +14,7 @@ // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . +//go:build cgo && !nocrypto // +build cgo,!nocrypto package database diff --git a/no-crypto.go b/no-crypto.go index 75a2c68..14e49c0 100644 --- a/no-crypto.go +++ b/no-crypto.go @@ -1,3 +1,4 @@ +//go:build !cgo || nocrypto // +build !cgo nocrypto package main