cmd/go: confusing "build constraints exclude all Go files" error when trying to import a package that uses CGO #73133
Labels
BugReport
Issues describing a possible bug in the Go implementation.
Go version
go version go1.23.4 linux/amd64
Output of
go env
in your module/workspace:What did you do?
i execute the command:
./make.bash
What did you see happen?
it return the following error:
imports github.com/open-quantum-safe/liboqs-go/oqs: build constraints exclude all Go files in /home/bif/Codes/go-std-1-23-4/src/vendor/github.com/open-quantum-safe/liboqs-go/oqs
What did you expect to see?
Building without errors.
Context:
I create a package
crypto/hybrid
that usesliboqs
andcgo
. the problem is ocurring when i import that package to the x509 package.I alrealdy tried CGO_ENABLE = 1 but didn't work
The text was updated successfully, but these errors were encountered: