19 const std::filesystem::path& directory,
20 std::string_view marker_file = {});
35 std::string_view file_name,
36 std::span<const std::filesystem::path> roots);
60 const std::filesystem::path& prefix,
61 std::string_view base_name);
Result< std::filesystem::path > load_library_from_prefix(const std::filesystem::path &prefix, std::string_view base_name)
Load a shared library by name from one prefix.
std::expected< T, Failure > Result
Result of a Host call.
Result< void > add_compile_flag(const std::string &flag)
Add a compile flag to the JIT.
Result< std::filesystem::path > add_include_root(const std::filesystem::path &directory, std::string_view marker_file)
Add a directory to the JIT include search path.
Result< std::filesystem::path > add_header(std::string_view file_name, std::span< const std::filesystem::path > roots)
Include a header in the session.
Result< std::filesystem::path > load_library(const std::filesystem::path &path)
Load a shared library from an explicit file path.