mirror of
https://github.com/google/go-attestation.git
synced 2025-05-25 19:44:19 +00:00
Target gofuzz build tag instead of cgo
go-fuzz + libFuzzer can't be built with `CGO_ENABLED=0`.
This commit is contained in:
parent
355782cbf9
commit
58786a4742
@ -1,4 +1,4 @@
|
||||
// +build cgo
|
||||
// +build !gofuzz
|
||||
|
||||
package attest
|
||||
|
||||
|
@ -12,7 +12,8 @@
|
||||
// License for the specific language governing permissions and limitations under
|
||||
// the License.
|
||||
|
||||
// +build linux,cgo
|
||||
// +build linux
|
||||
// +build !gofuzz
|
||||
|
||||
package attest
|
||||
|
||||
|
@ -12,7 +12,8 @@
|
||||
// License for the specific language governing permissions and limitations under
|
||||
// the License.
|
||||
|
||||
// +build linux,cgo
|
||||
// +build linux
|
||||
// +build !gofuzz
|
||||
|
||||
package attest
|
||||
|
||||
|
@ -12,12 +12,11 @@
|
||||
// License for the specific language governing permissions and limitations under
|
||||
// the License.
|
||||
|
||||
// +build !linux !windows
|
||||
// +build gofuzz
|
||||
|
||||
package attest
|
||||
|
||||
type platformTPM struct {
|
||||
// interf TPMInterface
|
||||
}
|
||||
|
||||
func probeSystemTPMs() ([]probedTPM, error) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user