Description
I think lima built on macOS13 has a bug.
Expectation
It should start the VM with Rosetta enabled without any warning or error
Current state
Unable to configure Rosetta: failed to create a new rosetta directory share caching option: unsupported build target macOS version for 14.0 (the binary was built with __MAC_OS_X_VERSION_MAX_ALLOWED=130300; needs recompilation)
I looked into the code which emits the error.
Maybe the cause is that vz is included when OS is 13 or newer, however NewLinuxRosettaAbstractSocketCachingOptions works only on macOS 14 and newer.
So, I think the above error occurs on macOS13.
Could anyone look into the problem and fix it?