Fix compilation of tests without CGo

Have the build conditions match the build conditions of the
referenced implementation.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
This commit is contained in:
Miloslav Trmač
2026-02-27 18:45:18 +01:00
parent c42350a5a2
commit cb9df63d63

View File

@@ -1,4 +1,4 @@
//go:build linux || freebsd
//go:build (linux || freebsd) && cgo
package shm