@@ -2324,6 +2324,8 @@ options! {
23242324 `=skip-entry`
23252325 `=skip-exit`
23262326 Multiple options can be combined with commas." ) ,
2327+ jump_tables: bool = ( true , parse_bool, [ TRACKED ] ,
2328+ "Allow jump table and lookup table generation from switch case lowering (default: yes)" ) ,
23272329 layout_seed: Option <u64 > = ( None , parse_opt_number, [ TRACKED ] ,
23282330 "seed layout randomization" ) ,
23292331 link_directives: bool = ( true , parse_bool, [ TRACKED ] ,
@@ -2404,8 +2406,6 @@ options! {
24042406 "omit DWARF address ranges that give faster lookups" ) ,
24052407 no_implied_bounds_compat: bool = ( false , parse_bool, [ TRACKED ] ,
24062408 "disable the compatibility version of the `implied_bounds_ty` query" ) ,
2407- no_jump_tables: bool = ( false , parse_no_value, [ TRACKED ] ,
2408- "disable the jump tables and lookup tables that can be generated from a switch case lowering" ) ,
24092409 no_leak_check: bool = ( false , parse_no_value, [ UNTRACKED ] ,
24102410 "disable the 'leak check' for subtyping; unsound, but useful for tests" ) ,
24112411 no_link: bool = ( false , parse_no_value, [ TRACKED ] ,
0 commit comments