Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add demangle support using external rustfilt tool #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

chrysn
Copy link
Contributor

@chrysn chrysn commented Dec 31, 2021

When the tool is not installed, it doesn't do anything but print a warning -- but if it is installed, it turns barely readable _ZN1foo2bar56baz names to foo:bar::baz.

@chrysn chrysn changed the title Add demangle support using external rustfix tool Add demangle support using external rustfilt tool Jan 1, 2022
@chrysn
Copy link
Contributor Author

chrysn commented Jan 1, 2022

By the way, this should also demangle C++ names (as Rust, until certain flags are set, uses the traditional _ZN mangling and not the newer v0 mangling). Didn't try, though; if it's used that way it may make sense to make the warning more visible (but I'd still keep it as an optional dependency, if only because it's easy to do).

@chrysn
Copy link
Contributor Author

chrysn commented Mar 13, 2024

Still works when applied to the cosy version currently in use with RIOT.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant