![]() This isn't supported by *all* arm64 chips, but it is common enough that I think it's worth an explicit fallback. I think it will be more common for images to have arm64 support without arm support, but even if a user has an arm64 chip that does not support arm32, having it fail to run the arm32 image is an acceptable compromise (because it's non-trivial to detect arm32 support without running a binary, AFAIK). Also, before this change the failure would've simply been "no such image" instead of "failed to run" so I think it's pretty reasonable to allow it to try the additional 32bit set of images just in case one of them actually does work (like it will on many popular chips like 64bit Raspberry Pis and AWS Graviton). Signed-off-by: Tianon Gravi <admwiggin@gmail.com> |
||
---|---|---|
.. | ||
compare_test.go | ||
compare.go | ||
cpuinfo_test.go | ||
cpuinfo.go | ||
database.go | ||
defaults_test.go | ||
defaults_unix.go | ||
defaults_windows.go | ||
defaults.go | ||
platforms_test.go | ||
platforms.go |