diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-11-18 12:35:22 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-18 12:35:22 -0600 |
commit | c48f835f9e03fdd30d35c7cae63f04cdaa2d9549 (patch) | |
tree | 46c948439ec4d1e97ae7a4370369c734f550db41 /libbindgen/tests/headers/variadic_template_function.hpp | |
parent | 0674f6002e71e11ef398d90ed0e4b63ca5bbfce9 (diff) | |
parent | 2a9341146ff2ae3deef7a39b385360122f406c52 (diff) |
Auto merge of #281 - fitzgen:namespace-mangle-rust-symbols, r=emilio
Include namespaces in mangled symbols
When we aren't using `--enable-cxx-namespaces`, we can end up with
conflicting struct symbol names that we need to disambiguate. The
solution is to mangle the namespaced C++ symbol "foo::bar::Baz" into the
Rust "foo_bar_Baz" symbol.
This did change the way anonymous types and modules get named a little,
but I think our approach is much more sane now than it was before.
Fixes #267.
r? @emilio
Diffstat (limited to 'libbindgen/tests/headers/variadic_template_function.hpp')
0 files changed, 0 insertions, 0 deletions