@@ -2093,6 +2093,8 @@ options! {
20932093 "instrument the generated code to support LLVM source-based code coverage reports \
20942094 (note, the compiler build config must include `profiler = true`); \
20952095 implies `-C symbol-mangling-version=v0`") ,
2096+ jump_tables: bool = ( true , parse_bool, [ TRACKED ] ,
2097+ "allow jump table and lookup table generation from switch case lowering (default: yes)" ) ,
20962098 link_arg: ( /* redirected to link_args */ ) = ( ( ) , parse_string_push, [ UNTRACKED ] ,
20972099 "a single extra argument to append to the linker invocation (can be used several times)" ) ,
20982100 link_args: Vec <String > = ( Vec :: new( ) , parse_list, [ UNTRACKED ] ,
@@ -2475,8 +2477,6 @@ options! {
24752477 "omit DWARF address ranges that give faster lookups" ) ,
24762478 no_implied_bounds_compat: bool = ( false , parse_bool, [ TRACKED ] ,
24772479 "disable the compatibility version of the `implied_bounds_ty` query" ) ,
2478- no_jump_tables: bool = ( false , parse_no_value, [ TRACKED ] ,
2479- "disable the jump tables and lookup tables that can be generated from a switch case lowering" ) ,
24802480 no_leak_check: bool = ( false , parse_no_value, [ UNTRACKED ] ,
24812481 "disable the 'leak check' for subtyping; unsound, but useful for tests" ) ,
24822482 no_link: bool = ( false , parse_no_value, [ TRACKED ] ,
0 commit comments