File tree Expand file tree Collapse file tree
plugins/bntl_utils/cli/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,9 +19,9 @@ pub struct CreateArgs {
1919 pub include_directories : Vec < PathBuf > ,
2020 #[ clap( long) ]
2121 pub dry_run : bool ,
22-
22+ /// A list of additional compiler options to pass to the compiler when parsing C header files.
2323 #[ arg( last = true , allow_hyphen_values = true , num_args = 0 ..) ]
24- compiler_flags : Vec < String > ,
24+ compiler_options : Vec < String > ,
2525}
2626
2727impl CreateArgs {
@@ -45,7 +45,7 @@ impl CreateArgs {
4545
4646 let processor = TypeLibProcessor :: new ( & self . name , & self . platform )
4747 . with_include_directories ( self . include_directories . clone ( ) )
48- . with_options ( self . compiler_flags . clone ( ) ) ;
48+ . with_compiler_options ( self . compiler_options . clone ( ) ) ;
4949 // TODO: Need progress indicator here, when downloading files.
5050 let resolved_input = self . input . resolve ( ) . expect ( "Failed to resolve input" ) ;
5151
You can’t perform that action at this time.
0 commit comments