mirror of
https://github.com/containers/podman.git
synced 2025-08-24 01:50:58 +08:00

Macs no longer support QEMU as a provider, build tag it out. Signed-off-by: Ashley Cui <acui@redhat.com>
20 lines
259 B
Go
20 lines
259 B
Go
//go:build windows
|
|
|
|
package qemu
|
|
|
|
import (
|
|
"os"
|
|
)
|
|
|
|
func getRuntimeDir() (string, error) {
|
|
tmpDir, ok := os.LookupEnv("TEMP")
|
|
if !ok {
|
|
tmpDir = os.Getenv("LOCALAPPDATA") + "\\Temp"
|
|
}
|
|
return tmpDir, nil
|
|
}
|
|
|
|
func useNetworkRecover() bool {
|
|
return false
|
|
}
|