@@ -540,7 +540,7 @@ fn test_codegen_options_tracking_hash() {
540540 }
541541
542542 // Make sure that changing an [UNTRACKED] option leaves the hash unchanged.
543- // This list is in alphabetical order.
543+ // tidy- alphabetical-start
544544 untracked ! ( ar, String :: from( "abc" ) ) ;
545545 untracked ! ( codegen_units, Some ( 42 ) ) ;
546546 untracked ! ( default_linker_libraries, true ) ;
@@ -556,6 +556,7 @@ fn test_codegen_options_tracking_hash() {
556556 untracked ! ( rpath, true ) ;
557557 untracked ! ( save_temps, true ) ;
558558 untracked ! ( strip, Strip :: Debuginfo ) ;
559+ // tidy-alphabetical-end
559560
560561 macro_rules! tracked {
561562 ( $name: ident, $non_default_value: expr) => {
@@ -567,7 +568,7 @@ fn test_codegen_options_tracking_hash() {
567568 }
568569
569570 // Make sure that changing a [TRACKED] option changes the hash.
570- // This list is in alphabetical order.
571+ // tidy- alphabetical-start
571572 tracked ! ( code_model, Some ( CodeModel :: Large ) ) ;
572573 tracked ! ( control_flow_guard, CFGuard :: Checks ) ;
573574 tracked ! ( debug_assertions, Some ( true ) ) ;
@@ -577,8 +578,8 @@ fn test_codegen_options_tracking_hash() {
577578 tracked ! ( force_unwind_tables, Some ( true ) ) ;
578579 tracked ! ( inline_threshold, Some ( 0xf007ba11 ) ) ;
579580 tracked ! ( instrument_coverage, Some ( InstrumentCoverage :: All ) ) ;
580- tracked ! ( linker_plugin_lto, LinkerPluginLto :: LinkerPluginAuto ) ;
581581 tracked ! ( link_dead_code, Some ( true ) ) ;
582+ tracked ! ( linker_plugin_lto, LinkerPluginLto :: LinkerPluginAuto ) ;
582583 tracked ! ( llvm_args, vec![ String :: from( "1" ) , String :: from( "2" ) ] ) ;
583584 tracked ! ( lto, LtoCli :: Fat ) ;
584585 tracked ! ( metadata, vec![ String :: from( "A" ) , String :: from( "B" ) ] ) ;
@@ -599,6 +600,7 @@ fn test_codegen_options_tracking_hash() {
599600 tracked ! ( symbol_mangling_version, Some ( SymbolManglingVersion :: V0 ) ) ;
600601 tracked ! ( target_cpu, Some ( String :: from( "abc" ) ) ) ;
601602 tracked ! ( target_feature, String :: from( "all the features, all of them" ) ) ;
603+ // tidy-alphabetical-end
602604}
603605
604606#[ test]
@@ -619,12 +621,13 @@ fn test_top_level_options_tracked_no_crate() {
619621 }
620622
621623 // Make sure that changing a [TRACKED_NO_CRATE_HASH] option leaves the crate hash unchanged but changes the incremental hash.
622- // This list is in alphabetical order.
623- tracked ! ( remap_path_prefix, vec![ ( "/home/bors/rust" . into( ) , "src" . into( ) ) ] ) ;
624+ // tidy-alphabetical-start
624625 tracked ! (
625626 real_rust_source_base_dir,
626627 Some ( "/home/bors/rust/.rustup/toolchains/nightly/lib/rustlib/src/rust" . into( ) )
627628 ) ;
629+ tracked ! ( remap_path_prefix, vec![ ( "/home/bors/rust" . into( ) , "src" . into( ) ) ] ) ;
630+ // tidy-alphabetical-end
628631}
629632
630633#[ test]
@@ -641,7 +644,7 @@ fn test_unstable_options_tracking_hash() {
641644 }
642645
643646 // Make sure that changing an [UNTRACKED] option leaves the hash unchanged.
644- // This list is in alphabetical order.
647+ // tidy- alphabetical-start
645648 untracked ! ( assert_incr_state, Some ( String :: from( "loaded" ) ) ) ;
646649 untracked ! ( deduplicate_diagnostics, false ) ;
647650 untracked ! ( dep_tasks, true ) ;
@@ -678,12 +681,12 @@ fn test_unstable_options_tracking_hash() {
678681 untracked ! ( perf_stats, true ) ;
679682 // `pre_link_arg` is omitted because it just forwards to `pre_link_args`.
680683 untracked ! ( pre_link_args, vec![ String :: from( "abc" ) , String :: from( "def" ) ] ) ;
681- untracked ! ( profile_closures, true ) ;
682684 untracked ! ( print_llvm_passes, true ) ;
683685 untracked ! ( print_mono_items, Some ( String :: from( "abc" ) ) ) ;
684686 untracked ! ( print_type_sizes, true ) ;
685687 untracked ! ( proc_macro_backtrace, true ) ;
686688 untracked ! ( proc_macro_execution_strategy, ProcMacroExecutionStrategy :: CrossThread ) ;
689+ untracked ! ( profile_closures, true ) ;
687690 untracked ! ( query_dep_graph, true ) ;
688691 untracked ! ( save_analysis, true ) ;
689692 untracked ! ( self_profile, SwitchWithOptPath :: Enabled ( None ) ) ;
@@ -701,6 +704,7 @@ fn test_unstable_options_tracking_hash() {
701704 untracked ! ( unstable_options, true ) ;
702705 untracked ! ( validate_mir, true ) ;
703706 untracked ! ( verbose, true ) ;
707+ // tidy-alphabetical-end
704708
705709 macro_rules! tracked {
706710 ( $name: ident, $non_default_value: expr) => {
@@ -712,7 +716,7 @@ fn test_unstable_options_tracking_hash() {
712716 }
713717
714718 // Make sure that changing a [TRACKED] option changes the hash.
715- // This list is in alphabetical order.
719+ // tidy- alphabetical-start
716720 tracked ! ( allow_features, Some ( vec![ String :: from( "lang_items" ) ] ) ) ;
717721 tracked ! ( always_encode_mir, true ) ;
718722 tracked ! ( asm_comments, true ) ;
@@ -733,10 +737,10 @@ fn test_unstable_options_tracking_hash() {
733737 tracked ! ( debug_macros, true ) ;
734738 tracked ! ( dep_info_omit_d_target, true ) ;
735739 tracked ! ( drop_tracking, true ) ;
736- tracked ! ( export_executable_symbols, true ) ;
737740 tracked ! ( dual_proc_macros, true ) ;
738741 tracked ! ( dwarf_version, Some ( 5 ) ) ;
739742 tracked ! ( emit_thin_lto, false ) ;
743+ tracked ! ( export_executable_symbols, true ) ;
740744 tracked ! ( fewer_names, Some ( true ) ) ;
741745 tracked ! ( force_unstable_if_unmarked, true ) ;
742746 tracked ! ( fuel, Some ( ( "abc" . to_string( ) , 99 ) ) ) ;
@@ -759,8 +763,8 @@ fn test_unstable_options_tracking_hash() {
759763 tracked ! ( mutable_noalias, Some ( true ) ) ;
760764 tracked ! ( no_generate_arange_section, true ) ;
761765 tracked ! ( no_link, true ) ;
762- tracked ! ( no_unique_section_names, true ) ;
763766 tracked ! ( no_profiler_runtime, true ) ;
767+ tracked ! ( no_unique_section_names, true ) ;
764768 tracked ! ( oom, OomStrategy :: Panic ) ;
765769 tracked ! ( osx_rpath_install_name, true ) ;
766770 tracked ! ( packed_bundled_libs, true ) ;
@@ -773,8 +777,8 @@ fn test_unstable_options_tracking_hash() {
773777 tracked ! ( print_fuel, Some ( "abc" . to_string( ) ) ) ;
774778 tracked ! ( profile, true ) ;
775779 tracked ! ( profile_emit, Some ( PathBuf :: from( "abc" ) ) ) ;
776- tracked ! ( profiler_runtime, "abc" . to_string( ) ) ;
777780 tracked ! ( profile_sample_use, Some ( PathBuf :: from( "abc" ) ) ) ;
781+ tracked ! ( profiler_runtime, "abc" . to_string( ) ) ;
778782 tracked ! ( relax_elf_relocations, Some ( true ) ) ;
779783 tracked ! ( relro_level, Some ( RelroLevel :: Full ) ) ;
780784 tracked ! ( remap_cwd_prefix, Some ( PathBuf :: from( "abc" ) ) ) ;
@@ -803,6 +807,7 @@ fn test_unstable_options_tracking_hash() {
803807 tracked ! ( verify_llvm_ir, true ) ;
804808 tracked ! ( virtual_function_elimination, true ) ;
805809 tracked ! ( wasi_exec_model, Some ( WasiExecModel :: Reactor ) ) ;
810+ // tidy-alphabetical-end
806811
807812 macro_rules! tracked_no_crate_hash {
808813 ( $name: ident, $non_default_value: expr) => {
0 commit comments