Function swipl_info::get_swipl_info
source · pub fn get_swipl_info() -> SwiplInfo
Expand description
Retrieve information about the installed swipl environment.
This will check the SWIPL environment variable for a path to the
swipl binary. If this environment variable is not set, it’ll
attempt to find swipl by assuming it is on the PATH. When found,
some prolog is run to extract this information using the
prolog_pack
library, and returned as a SwiplInfo
.
If swipl is not found, this function panics.