diff --git a/activation/files_windows.go b/activation/files_stub.go similarity index 97% rename from activation/files_windows.go rename to activation/files_stub.go index d391bf00..5ea78db4 100644 --- a/activation/files_windows.go +++ b/activation/files_stub.go @@ -12,6 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. +//go:build !unix + package activation import "os" diff --git a/activation/files_unix.go b/activation/files_unix.go index 7031f281..e88d50ef 100644 --- a/activation/files_unix.go +++ b/activation/files_unix.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build !windows +//go:build unix // Package activation implements primitives for systemd socket activation. package activation