@@ -413,9 +413,9 @@ struct BindgenCommand {
413
413
/// Generate wrappers for `static` and `static inline` functions.
414
414
#[ arg( long, requires = "experimental" ) ]
415
415
wrap_static_fns : bool ,
416
- /// Sets the path of the file where generated native code will be emitted.
416
+ /// Sets the path of the file where generated code for wrapper functions will be emitted.
417
417
#[ arg( long, requires = "experimental" , value_name = "PATH" ) ]
418
- native_code_generation_path : Option < PathBuf > ,
418
+ wrapper_code_generation_path : Option < PathBuf > ,
419
419
/// Sets the SUFFIX added to the extern wrapper functions generated for `static` and `static
420
420
/// inline` functions.
421
421
#[ arg( long, requires = "experimental" , value_name = "SUFFIX" ) ]
@@ -559,7 +559,7 @@ where
559
559
with_derive_custom_enum,
560
560
with_derive_custom_union,
561
561
wrap_static_fns,
562
- native_code_generation_path ,
562
+ wrapper_code_generation_path ,
563
563
wrap_static_fns_suffix,
564
564
macro_function,
565
565
default_visibility,
@@ -1095,8 +1095,8 @@ where
1095
1095
builder = builder. wrap_static_fns ( true ) ;
1096
1096
}
1097
1097
1098
- if let Some ( path) = native_code_generation_path {
1099
- builder = builder. native_code_generation_path ( path) ;
1098
+ if let Some ( path) = wrapper_code_generation_path {
1099
+ builder = builder. wrapper_code_generation_path ( path) ;
1100
1100
}
1101
1101
1102
1102
if let Some ( suffix) = wrap_static_fns_suffix {
0 commit comments