qemu-metadata-api: allow building without cgo dependencies for linting

This commit is contained in:
Malte Poll 2023-05-17 17:34:29 +02:00 committed by Malte Poll
parent 15d51c3a3f
commit 78085cba68
8 changed files with 119 additions and 36 deletions

View file

@ -0,0 +1,13 @@
//go:build !cgo
/*
Copyright (c) Edgeless Systems GmbH
SPDX-License-Identifier: AGPL-3.0-only
*/
package main
func main() {
panic("CGO disabled but started qemu-metadata-api")
}