Skip to content

Commit 187bcce

Browse files
usamoiemilio
authored andcommitted
apply same rule to C and C-unwind in names_will_be_identical_after_mangling
1 parent eae5b66 commit 187bcce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bindgen/codegen/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5933,7 +5933,7 @@ pub(crate) mod utils {
59335933
let mangled_name = mangled_name.as_bytes();
59345934

59355935
let (mangling_prefix, expect_suffix) = match call_conv {
5936-
Some(ClangAbi::Known(Abi::C)) |
5936+
Some(ClangAbi::Known(Abi::C | Abi::CUnwind)) |
59375937
// None is the case for global variables
59385938
None => {
59395939
(b'_', false)

0 commit comments

Comments
 (0)