1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
/// @file WASM stub for current-process.cc

#include "lix/libutil/current-process.hh"
#include "lix/libutil/error.hh"

namespace nix {

void ensureStackSizeAtLeast(rlim_t) {}

void restoreProcessContext(bool) {}

std::optional<Path> getSelfExe()
{
    return std::nullopt;
}

} // namespace nix