Skip to content

Commit 28dbdfa

Browse files
committed
Remove the dtor_attrs option
It is unused.
1 parent 9766391 commit 28dbdfa

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/lib.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,6 @@ impl Builder {
107107
self
108108
}
109109

110-
pub fn dtor_attr<T: Into<String>>(mut self, attr: T) -> Builder {
111-
self.options.dtor_attrs.push(attr.into());
112-
self
113-
}
114-
115110
pub fn forbid_unknown_types(mut self) -> Builder {
116111
self.options.fail_on_unknown_type = true;
117112
self
@@ -180,8 +175,6 @@ pub struct BindgenOptions {
180175
pub msvc_mangling: bool,
181176
pub override_enum_ty: String,
182177
pub raw_lines: Vec<String>,
183-
/// Attributes for a type with destructor
184-
pub dtor_attrs: Vec<String>,
185178
pub clang_args: Vec<String>,
186179
}
187180

@@ -210,7 +203,6 @@ impl Default for BindgenOptions {
210203
namespaced_constants: true,
211204
msvc_mangling: false,
212205
raw_lines: vec![],
213-
dtor_attrs: vec![],
214206
clang_args: vec![],
215207
}
216208
}

0 commit comments

Comments
 (0)