mirror of
https://github.com/termux/termux-packages.git
synced 2024-12-04 18:45:52 +00:00
79669458db
containerd/platforms module was added in the following commit.
a182cab984
12 lines
497 B
Diff
12 lines
497 B
Diff
--- ./go/pkg/mod/github.com/containerd/platforms@v0.2.1/cpuinfo_other.go
|
|
+++ ./go/pkg/mod/github.com/containerd/platforms@v0.2.1/cpuinfo_other.go
|
|
@@ -29,7 +29,7 @@
|
|
|
|
var variant string
|
|
|
|
- if runtime.GOOS == "windows" || runtime.GOOS == "darwin" {
|
|
+ if runtime.GOOS == "windows" || runtime.GOOS == "darwin" || runtime.GOOS == "android" {
|
|
// Windows/Darwin only supports v7 for ARM32 and v8 for ARM64 and so we can use
|
|
// runtime.GOARCH to determine the variants
|
|
switch runtime.GOARCH {
|