#[rustler::nif(schedule = "DirtyCpu")]
pub fn {{ unregister_fn }}(_env: rustler::Env<'_>, name: String) -> Result<rustler::Atom, rustler::Error> {
{{ host_path }}(&name)
.map_err(|e| rustler::Error::term(format!("{}", e)))
.map(|_| rustler::atoms::ok())
}