mirror of
https://github.com/containers/podman.git
synced 2025-05-20 08:36:23 +08:00

Use system call instead of GOARCH to support Windows userspace x86 emulation, as well as native arm Signed-off-by: Jason T. Greene <jason.greene@redhat.com>
13 lines
230 B
Go
13 lines
230 B
Go
//go:build darwin || dragonfly || freebsd || linux || netbsd || openbsd
|
|
// +build darwin dragonfly freebsd linux netbsd openbsd
|
|
|
|
package machine
|
|
|
|
import (
|
|
"runtime"
|
|
)
|
|
|
|
func determineFedoraArch() string {
|
|
return runtime.GOARCH
|
|
}
|