Skip to content

Commit c875d03

Browse files
committed
apply same rule to C and C-unwind in names_will_be_identical_after_mangling
1 parent 20aa65a commit c875d03

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
@@ -5863,7 +5863,7 @@ pub(crate) mod utils {
58635863
let mangled_name = mangled_name.as_bytes();
58645864

58655865
let (mangling_prefix, expect_suffix) = match call_conv {
5866-
Some(ClangAbi::Known(Abi::C)) |
5866+
Some(ClangAbi::Known(Abi::C) | ClangAbi::Known(Abi::CUnwind)) |
58675867
// None is the case for global variables
58685868
None => {
58695869
(b'_', false)

0 commit comments

Comments
 (0)