浏览文件
errors_darwin.go
15 行 · 477 B历史下载| 1 | //go:build darwin && !no_vz |
| 2 | |
| 3 | // SPDX-FileCopyrightText: Copyright The Lima Authors |
| 4 | // SPDX-License-Identifier: Apache-2.0 |
| 5 | |
| 6 | package vz |
| 7 | |
| 8 | import "errors" |
| 9 | |
| 10 | //nolint:revive,staticcheck,unused // false positives with proper nouns and GOARCH check |
| 11 | var ( |
| 12 | errRosettaUnsupported = errors.New("Rosetta is unsupported on non-ARM64 hosts") |
| 13 | errMacOSGuestUnsupported = errors.New("macOS guest is unsupported on non-ARM64 hosts") |
| 14 | errUnimplemented = errors.New("unimplemented") |
| 15 | ) |

