Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update depguard rules to prevent breaking CGO_ENABLED=0 (#47298)
* Update depguard rules to prevent breaking CGO_ENABLED=0 The integrations binaries should be able to compile without CGO, however, a recent change introduced a dependency that required CGO (#47045). This was fixed in #47172, however there were no safety measure put in place to prevent it from happening again in the future. This updates the existing CGO depguard rules to apply to all files under integrations in addition to denying lib/config which requires CGO by way of lib/pam and lib/backend/lite. * sort cgo rules alphabetically and include backend/lite * only depguard integrations and not lib/integrations
- Loading branch information