@@ -692,6 +692,8 @@ options! {CodegenOptions, CodegenSetter, basic_codegen_options,
692692 "choose the code model to use (`rustc --print code-models` for details)" ) ,
693693 codegen_units: Option <usize > = ( None , parse_opt_uint, [ UNTRACKED ] ,
694694 "divide crate into N units to optimize in parallel" ) ,
695+ control_flow_guard: CFGuard = ( CFGuard :: Disabled , parse_cfguard, [ TRACKED ] ,
696+ "use Windows Control Flow Guard (default: no)" ) ,
695697 debug_assertions: Option <bool > = ( None , parse_opt_bool, [ TRACKED ] ,
696698 "explicitly enable the `cfg(debug_assertions)` directive" ) ,
697699 debuginfo: usize = ( 0 , parse_uint, [ TRACKED ] ,
@@ -809,8 +811,6 @@ options! {DebuggingOptions, DebuggingSetter, basic_debugging_options,
809811 "enable the experimental Chalk-based trait solving engine" ) ,
810812 codegen_backend: Option <String > = ( None , parse_opt_string, [ TRACKED ] ,
811813 "the backend to use" ) ,
812- control_flow_guard: CFGuard = ( CFGuard :: Disabled , parse_cfguard, [ TRACKED ] ,
813- "use Windows Control Flow Guard (default: no)" ) ,
814814 crate_attr: Vec <String > = ( Vec :: new( ) , parse_string_push, [ TRACKED ] ,
815815 "inject the given attribute in the crate" ) ,
816816 debug_macros: bool = ( false , parse_bool, [ TRACKED ] ,
0 commit comments