On 2023-04-10, Siegfried Levin <siegfried.le...@gmail.com> wrote: > I fixed Cargo by “pkg_add -u rust”
Ignoring the rust-specific bits which tb@ and semarie@ have commented on, you should always run straight "pkg_add -u" after an update - rust or not. OpenBSD does not give much consideration for compatibility with old binaries and it is very common that old binaries will not run on a new OpenBSD version. (On a related note, for software written in Go, as well as recompiling, it maybe necessary to update your projects to use a newer version of the golang.org/x/sys module, and if it uses some functions of modernc.org modules there's no solution yet).