Don't generate docstrings

This commit is contained in:
Martin Dahl 2021-09-01 17:38:34 +02:00
parent 30d63e0a59
commit e0e5ed7dc4
3 changed files with 3 additions and 0 deletions

View File

@ -78,6 +78,7 @@ fn main() {
.whitelist_type("rcl_action_client_options_t")
.whitelist_type("rcl_action_server_options_t")
.whitelist_var("RCL_RET_ACTION_.*")
.generate_comments(false)
.generate()
.expect("Unable to generate bindings");

View File

@ -145,6 +145,7 @@ fn main() {
.blacklist_type("rosidl_runtime_c__int64__Sequence")
.size_t_is_usize(true)
.no_debug("_OSUnaligned.*")
.generate_comments(false)
.default_enum_style(bindgen::EnumVariation::Rust {
non_exhaustive: false,
});

View File

@ -68,6 +68,7 @@ fn main() {
.no_debug("_OSUnaligned.*")
.derive_partialeq(true)
.derive_copy(true)
.generate_comments(false)
.generate()
.expect("Unable to generate bindings");