-
Notifications
You must be signed in to change notification settings - Fork 57
Open
Description
rustc-demangle/crates/capi/include/rustc_demangle.h
Lines 8 to 13 in af38dc6
// Demangles symbol given in `mangled` argument into `out` buffer | |
// | |
// Returns 0 if `mangled` is not Rust symbol or if `out` buffer is too small | |
// Returns 1 otherwise | |
int rustc_demangle(const char *mangled, char *out, size_t out_size); | |
This causes KDAB/hotspot#611 where hotspot will not demangle some long symbol names correctly. Consider making a breaking change (or adding an alternative function) whereby it is possible to tell these cases apart. Best would be if it would report how large the buffer would need to be.
Metadata
Metadata
Assignees
Labels
No labels