diff --git a/cmd/cloudstic/secret_store_darwin.go b/cmd/cloudstic/secret_store_darwin.go index 1aceb2b..8293953 100644 --- a/cmd/cloudstic/secret_store_darwin.go +++ b/cmd/cloudstic/secret_store_darwin.go @@ -1,4 +1,4 @@ -//go:build darwin +//go:build darwin && cgo package main diff --git a/cmd/cloudstic/secret_store_darwin_test.go b/cmd/cloudstic/secret_store_darwin_test.go index 6d661f1..b133466 100644 --- a/cmd/cloudstic/secret_store_darwin_test.go +++ b/cmd/cloudstic/secret_store_darwin_test.go @@ -1,4 +1,4 @@ -//go:build darwin +//go:build darwin && cgo package main diff --git a/cmd/cloudstic/secret_store_stub.go b/cmd/cloudstic/secret_store_stub.go index 577edd9..9ab1ee4 100644 --- a/cmd/cloudstic/secret_store_stub.go +++ b/cmd/cloudstic/secret_store_stub.go @@ -1,4 +1,4 @@ -//go:build !darwin +//go:build !darwin || (darwin && !cgo) package main diff --git a/internal/secretref/keychain_backend_darwin.go b/internal/secretref/keychain_backend_darwin.go index 97a0695..2927a07 100644 --- a/internal/secretref/keychain_backend_darwin.go +++ b/internal/secretref/keychain_backend_darwin.go @@ -1,4 +1,4 @@ -//go:build darwin +//go:build darwin && cgo package secretref diff --git a/internal/secretref/keychain_backend_darwin_test.go b/internal/secretref/keychain_backend_darwin_test.go index 46c7ff9..37ac6ae 100644 --- a/internal/secretref/keychain_backend_darwin_test.go +++ b/internal/secretref/keychain_backend_darwin_test.go @@ -1,4 +1,4 @@ -//go:build darwin +//go:build darwin && cgo package secretref diff --git a/internal/secretref/keychain_backend_integration_darwin_test.go b/internal/secretref/keychain_backend_integration_darwin_test.go index 39a9b32..ba635f3 100644 --- a/internal/secretref/keychain_backend_integration_darwin_test.go +++ b/internal/secretref/keychain_backend_integration_darwin_test.go @@ -1,4 +1,4 @@ -//go:build darwin +//go:build darwin && cgo package secretref diff --git a/internal/secretref/keychain_backend_stub.go b/internal/secretref/keychain_backend_stub.go index e5d2e46..77c2625 100644 --- a/internal/secretref/keychain_backend_stub.go +++ b/internal/secretref/keychain_backend_stub.go @@ -1,4 +1,4 @@ -//go:build !darwin +//go:build !darwin || (darwin && !cgo) package secretref