veloren_common_dynlib

Function hotreload

Source
pub(crate) fn hotreload(
    dyn_package: &str,
    loaded_lib: &Mutex<Option<LoadedLib>>,
    features: &[&str],
)
Expand description

Hotreload the dynamic library

This will reload the dynamic library by first internally calling compile and then reloading the library.