mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-09-26 19:41:05 -04:00
qemu-metadata-api: allow building without cgo dependencies for linting
This commit is contained in:
parent
15d51c3a3f
commit
78085cba68
8 changed files with 119 additions and 36 deletions
13
hack/qemu-metadata-api/main_cross.go
Normal file
13
hack/qemu-metadata-api/main_cross.go
Normal 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")
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue