Skip to main content
QAROS Rust API Dev (main) · versions: Dev (main) · Developer Guide

open_package_library

Function open_package_library 

Source
pub unsafe fn open_package_library(path: &Path) -> Result<Library, LoadError>
Expand description

Opens a library file with the search rules QarApi::load uses: from its absolute path, its dependencies from its own folder and System32. For other libraries of a QAROS build, such as the test-only counterparts library.

§Safety

Opening a library runs its initialization code.