mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-05 07:45:27 -04:00
cli: add windows amd64 build target (#1835)
This commit is contained in:
parent
6d5e7e1f7c
commit
60b125cb59
11 changed files with 135 additions and 86 deletions
21
cli/internal/cmd/miniup_cross.go
Normal file
21
cli/internal/cmd/miniup_cross.go
Normal file
|
@ -0,0 +1,21 @@
|
|||
//go:build !linux || !amd64
|
||||
|
||||
/*
|
||||
Copyright (c) Edgeless Systems GmbH
|
||||
|
||||
SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
|
||||
package cmd
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"io"
|
||||
"runtime"
|
||||
)
|
||||
|
||||
// checkSystemRequirements checks if the system meets the requirements for running a MiniConstellation cluster.
|
||||
// This will always fail on non-linux/amd64 platforms.
|
||||
func (m *miniUpCmd) checkSystemRequirements(_ io.Writer) error {
|
||||
return fmt.Errorf("creation of a QEMU based Constellation is not supported for %s/%s, a linux/amd64 platform is required", runtime.GOOS, runtime.GOARCH)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue