proc/native: add support sentinel for FreeBSD with cgo disabled (#3636)

Adds a support sentinel file for building on FreeBSD with cgo disabled.
Makes the build error for FreeBSD easier to understand.

Fixes #3630
This commit is contained in:
Alessandro Arzilli 2024-01-19 21:05:53 +01:00 committed by GitHub
parent dab870bd96
commit 664bd95d24
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -0,0 +1,5 @@
//go:build freebsd && amd64 && !cgo
// This file is used to detect building on freebsd with cgo disabled
package can_not_build_on_freebsd_with_cgo_disabled