wasmtime_environ

Function demangle_function_name_or_index

source
pub fn demangle_function_name_or_index(
    writer: &mut impl Write,
    name: Option<&str>,
    func_id: usize,
) -> Result
Expand description

Demangles a function name if it’s provided, or returns a unified representation based on the function index otherwise.