You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Mark any union whose name matches <REGEX> and who has a non-Copy member to use a bindgen-generated wrapper for fields.
93
+
/// Mark any union whose name matches REGEX and who has a non-Copy member to use a bindgen-generated wrapper for fields.
94
94
#[arg(long, value_name = "REGEX")]
95
95
bindgen_wrapper_union:Vec<String>,
96
-
/// Mark any union whose name matches <REGEX> and who has a non-Copy member to use ManuallyDrop (stabilized in Rust 1.20.0) for fields.
96
+
/// Mark any union whose name matches REGEX and who has a non-Copy member to use ManuallyDrop (stabilized in Rust 1.20.0) for fields.
97
97
#[arg(long, value_name = "REGEX")]
98
98
manually_drop_union:Vec<String>,
99
-
/// Mark <TYPE> as hidden.
99
+
/// Mark TYPE as hidden.
100
100
#[arg(long, value_name = "TYPE")]
101
101
blocklist_type:Vec<String>,
102
-
/// Mark <FUNCTION> as hidden.
102
+
/// Mark FUNCTION as hidden.
103
103
#[arg(long, value_name = "FUNCTION")]
104
104
blocklist_function:Vec<String>,
105
-
/// Mark <ITEM> as hidden.
105
+
/// Mark ITEM as hidden.
106
106
#[arg(long, value_name = "ITEM")]
107
107
blocklist_item:Vec<String>,
108
-
/// Mark <FILE> as hidden.
108
+
/// Mark FILE as hidden.
109
109
#[arg(long, value_name = "FILE")]
110
110
blocklist_file:Vec<String>,
111
111
/// Avoid generating layout tests for any type.
@@ -144,7 +144,7 @@ struct BindgenCommand {
144
144
/// Derive Ord on any type.
145
145
#[arg(long)]
146
146
with_derive_ord:bool,
147
-
/// Avoid including doc comments in the output, see: https://github.com/rust-lang/rust-bindgen/issues/426
147
+
/// Avoid including doc comments in the output, see: <https://github.com/rust-lang/rust-bindgen/issues/426>
148
148
#[arg(long)]
149
149
no_doc_comments:bool,
150
150
/// Disable allowlisting types recursively. This will cause bindgen to emit Rust code that won't compile! See the `bindgen::Builder::allowlist_recursively` method's documentation for details.
@@ -219,10 +219,10 @@ struct BindgenCommand {
219
219
/// Try to fit macro constants into types smaller than u32/i32
220
220
#[arg(long)]
221
221
fit_macro_constant_types:bool,
222
-
/// Mark <TYPE> as opaque.
222
+
/// Mark TYPE as opaque.
223
223
#[arg(long, value_name = "TYPE")]
224
224
opaque_type:Vec<String>,
225
-
/// Write Rust bindings to <OUTPUT>.
225
+
/// Write Rust bindings to OUTPUT.
226
226
#[arg(long, short, value_name = "OUTPUT")]
227
227
output:Option<String>,
228
228
/// Add a raw line of Rust code at the beginning of output.
@@ -239,19 +239,19 @@ struct BindgenCommand {
239
239
/// Conservatively generate inline namespaces to avoid name conflicts.
240
240
#[arg(long)]
241
241
conservative_inline_namespaces:bool,
242
-
/// Allowlist all the free-standing functions matching <REGEX>. Other non-allowlisted functions will not be generated.
242
+
/// Allowlist all the free-standing functions matching REGEX. Other non-allowlisted functions will not be generated.
243
243
#[arg(long, value_name = "REGEX")]
244
244
allowlist_function:Vec<String>,
245
245
/// Generate inline functions.
246
246
#[arg(long)]
247
247
generate_inline_functions:bool,
248
-
/// Only generate types matching <REGEX>. Other non-allowlisted types will not be generated.
248
+
/// Only generate types matching REGEX. Other non-allowlisted types will not be generated.
249
249
#[arg(long, value_name = "REGEX")]
250
250
allowlist_type:Vec<String>,
251
-
/// Allowlist all the free-standing variables matching <REGEX>. Other non-allowlisted variables will not be generated.
251
+
/// Allowlist all the free-standing variables matching REGEX. Other non-allowlisted variables will not be generated.
252
252
#[arg(long, value_name = "REGEX")]
253
253
allowlist_var:Vec<String>,
254
-
/// Allowlist all contents of <PATH>.
254
+
/// Allowlist all contents of PATH.
255
255
#[arg(long, value_name = "PATH")]
256
256
allowlist_file:Vec<String>,
257
257
/// Print verbose error messages.
@@ -280,25 +280,25 @@ struct BindgenCommand {
280
280
/// The absolute path to the rustfmt configuration file. The configuration file will be used for formatting the bindings. This parameter sets `formatter` to `rustfmt`.
/// Avoid deriving PartialEq for types matching <REGEX>.
283
+
/// Avoid deriving PartialEq for types matching REGEX.
284
284
#[arg(long, value_name = "REGEX")]
285
285
no_partialeq:Vec<String>,
286
-
/// Avoid deriving Copy and Clone for types matching <REGEX>.
286
+
/// Avoid deriving Copy and Clone for types matching REGEX.
287
287
#[arg(long, value_name = "REGEX")]
288
288
no_copy:Vec<String>,
289
-
/// Avoid deriving Debug for types matching <REGEX>.
289
+
/// Avoid deriving Debug for types matching REGEX.
290
290
#[arg(long, value_name = "REGEX")]
291
291
no_debug:Vec<String>,
292
-
/// Avoid deriving/implementing Default for types matching <REGEX>.
292
+
/// Avoid deriving/implementing Default for types matching REGEX.
293
293
#[arg(long, value_name = "REGEX")]
294
294
no_default:Vec<String>,
295
-
/// Avoid deriving Hash for types matching <REGEX>.
295
+
/// Avoid deriving Hash for types matching REGEX.
296
296
#[arg(long, value_name = "REGEX")]
297
297
no_hash:Vec<String>,
298
-
/// Add #[must_use] annotation to types matching <REGEX>.
298
+
/// Add `#[must_use]` annotation to types matching REGEX.
299
299
#[arg(long, value_name = "REGEX")]
300
300
must_use_type:Vec<String>,
301
-
/// Enables detecting unexposed attributes in functions (slow). Used to generate #[must_use] annotations.
301
+
/// Enables detecting unexposed attributes in functions (slow). Used to generate `#[must_use]` annotations.
302
302
#[arg(long)]
303
303
enable_function_attribute_detection:bool,
304
304
/// Use `*const [T; size]` instead of `*const T` for C arrays
@@ -337,22 +337,22 @@ struct BindgenCommand {
337
337
/// Deduplicates extern blocks.
338
338
#[arg(long)]
339
339
merge_extern_blocks:bool,
340
-
/// Overrides the ABI of functions matching <regex>. The <OVERRIDE> value must be of the shape <REGEX>=<ABI> where <ABI> can be one of C, stdcall, efiapi, fastcall, thiscall, aapcs, win64 or C-unwind.
340
+
/// Overrides the ABI of functions matching REGEX. The OVERRIDE value must be of the shape REGEX=ABI where ABI can be one of C, stdcall, efiapi, fastcall, thiscall, aapcs, win64 or C-unwind.
341
341
#[arg(long, value_name = "OVERRIDE")]
342
342
override_abi:Vec<String>,
343
343
/// Wrap unsafe operations in unsafe blocks.
344
344
#[arg(long)]
345
345
wrap_unsafe_ops:bool,
346
-
/// Derive custom traits on any kind of type. The <CUSTOM> value must be of the shape <REGEX>=<DERIVE> where <DERIVE> is a coma-separated list of derive macros.
346
+
/// Derive custom traits on any kind of type. The CUSTOM value must be of the shape REGEX=DERIVE where DERIVE is a coma-separated list of derive macros.
347
347
#[arg(long, value_name = "CUSTOM")]
348
348
with_derive_custom:Vec<String>,
349
-
/// Derive custom traits on a `struct`. The <CUSTOM> value must be of the shape <REGEX>=<DERIVE> where <DERIVE> is a coma-separated list of derive macros.
349
+
/// Derive custom traits on a `struct`. The CUSTOM value must be of the shape REGEX=DERIVE where DERIVE is a coma-separated list of derive macros.
350
350
#[arg(long, value_name = "CUSTOM")]
351
351
with_derive_custom_struct:Vec<String>,
352
-
/// Derive custom traits on an `enum. The <CUSTOM> value must be of the shape <REGEX>=<DERIVE> where <DERIVE> is a coma-separated list of derive macros.
352
+
/// Derive custom traits on an `enum. The CUSTOM value must be of the shape REGEX=DERIVE where DERIVE is a coma-separated list of derive macros.
353
353
#[arg(long, value_name = "CUSTOM")]
354
354
with_derive_custom_enum:Vec<String>,
355
-
/// Derive custom traits on a `union`. The <CUSTOM> value must be of the shape <REGEX>=<DERIVE> where <DERIVE> is a coma-separated list of derive macros.
355
+
/// Derive custom traits on a `union`. The CUSTOM value must be of the shape REGEX=DERIVE where DERIVE is a coma-separated list of derive macros.
356
356
#[arg(long, value_name = "CUSTOM")]
357
357
with_derive_custom_union:Vec<String>,
358
358
/// Generate wrappers for `static` and `static inline` functions.
0 commit comments