Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: lang/rust: migrate to getexecpath()
To:
ports@openbsd.org
Date:
Mon, 7 Sep 2026 23:44:20 +0100

Download raw body.

Thread
On 2026/09/03 23:22, Kirill A. Korinsky wrote:
> I'd like to migrate our rust to use of getexecpath(), it should allow to
> drop a lot of patches to remove usage of current_exe()

If anyone knows a bit of C++ and has time, one of the other common
implementations of path lookup for the current executable is in Boost,
https://github.com/boostorg/dll/blob/HEAD/include/boost/dll/detail/posix/program_location_impl.hpp#L53