pub fn demangle_function_name(writer: &mut impl Write, name: &str) -> Result
Expand description

Demangles a single function name into a user-readable form.

Currently supported: Rust/C/C++ function names.

Examples found in repository?
src/demangling.rs (line 24)
18
19
20
21
22
23
24
25
26
27
pub fn demangle_function_name_or_index(
    writer: &mut impl std::fmt::Write,
    name: Option<&str>,
    func_id: usize,
) -> std::fmt::Result {
    match name {
        Some(name) => demangle_function_name(writer, name),
        None => write!(writer, "<wasm function {}>", func_id),
    }
}