4 ms·
Small note, we don't use the C++ mangler (https://github.com/rust-lang/rfcs/pull/2603 https://github.com/rust-lang/rfcs/pull/2603), and did the upstream work in
by steveklabnik 7y ago
Small note, we don't use the C++ mangler (https://github.com/rust-lang/rfcs/pull/2603 https://github.com/rust-lang/rfcs/pull/2603), and did the upstream work in GDB to get it to understand things. (There's also more work to do: https://github.com/rust-lang/rust/issues?q=is%3Aopen+is%3Aissue+label%3AA-debuginfo https://github.com/rust-lang/rust/issues?q=is%3Aopen+is%3Ais... )
That being said, yes, we see integration into the parent platform as being an important design constraint for Rust. I think Go made reasonable choices for what they're trying to do, though. It's all tradeoffs.
- kibwen 7y agoIndeed, though it's worth mentioning that the Rust mangling scheme is based on that of the Itanium C++ ABI.