Skip to content

Commit

Permalink
apply same rule to C and C-unwind in names_will_be_identical_after_ma…
Browse files Browse the repository at this point in the history
…ngling
  • Loading branch information
usamoi committed Feb 25, 2025
1 parent 20aa65a commit c875d03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bindgen/codegen/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5863,7 +5863,7 @@ pub(crate) mod utils {
let mangled_name = mangled_name.as_bytes();

let (mangling_prefix, expect_suffix) = match call_conv {
Some(ClangAbi::Known(Abi::C)) |
Some(ClangAbi::Known(Abi::C) | ClangAbi::Known(Abi::CUnwind)) |
// None is the case for global variables
None => {
(b'_', false)
Expand Down

0 comments on commit c875d03

Please sign in to comment.