Skip to content

Conversation

@anforowicz
Copy link
Contributor

Fixes #1507

@nyurik
Copy link
Contributor

nyurik commented Oct 27, 2025

should the symbol name be something more descriptive to explain to the user what they are doing wrong?

@anforowicz
Copy link
Contributor Author

should the symbol name be something more descriptive to explain to the user what they are doing wrong?

I don't think so - the prefix will be present in each cxx-generated symbol. If the prefix is too long, then the symbols may get unwieldy to use (e.g. when reading them on a limited-width terminal, or when writing them to set breakpoints or to describe bugs).

Copy link
Owner

@dtolnay dtolnay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@dtolnay dtolnay merged commit c434dc2 into dtolnay:master Nov 20, 2025
29 checks passed
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.

Compiler-enforce CXX version matching between C++ and Rust

3 participants