We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b0d2fd commit eb76045Copy full SHA for eb76045
pgrx-bindgen/src/build.rs
@@ -829,10 +829,9 @@ fn run_bindgen(
829
.wrap_static_fns(enable_cshim)
830
.wrap_static_fns_path(out_path.join("pgrx-cshim-static"))
831
.wrap_static_fns_suffix("__pgrx_cshim")
832
- .override_abi(bindgen::Abi::CUnwind, ".*")
833
.generate()
834
.wrap_err_with(|| format!("Unable to generate bindings for pg{major_version}"))?;
835
- let mut binding_str = bindings.to_string();
+ let mut binding_str = bindings.to_string().replace("\"C\"", "\"C-unwind\"");
836
drop(bindings); // So the Rc::into_inner can unwrap
837
838
// FIXME: do this for the Node graph instead of reparsing?
0 commit comments