feat(platform,daemon): isolate executable lookup and report host backends
VoidBuildSystem CI / build-and-test-gcc16 (push) Failing after 3s
VoidBuildSystem CI / signing-openssl-gcc16 (push) Failing after 8s

This commit is contained in:
faumaray committed 2026-12-04 04:15:42 +03:00
1 parent 105519924a
commit 9f4477b8d4
10 files changed
+93 -7

No files matched your search

+5
View File
@@ -92,4 +92,9 @@ resolve_confined_path(const std::filesystem::path &root, const std::filesystem::
[[nodiscard]] bool path_is_within(const std::filesystem::path &root,
const std::filesystem::path &path);
// Absolute path of the running executable (Linux: /proc/self/exe). Hosts without a supported
// mechanism return an explicit error instead of a guessed path.
[[nodiscard]] Void::Result::Result<std::filesystem::path, Void::Result::Error>
current_executable_path();
} // namespace Void::Build::Platform