@@ -540,7 +540,7 @@ fn test_codegen_options_tracking_hash() {
540
540
}
541
541
542
542
// Make sure that changing an [UNTRACKED] option leaves the hash unchanged.
543
- // This list is in alphabetical order.
543
+ // tidy- alphabetical-start
544
544
untracked ! ( ar, String :: from( "abc" ) ) ;
545
545
untracked ! ( codegen_units, Some ( 42 ) ) ;
546
546
untracked ! ( default_linker_libraries, true ) ;
@@ -556,6 +556,7 @@ fn test_codegen_options_tracking_hash() {
556
556
untracked ! ( rpath, true ) ;
557
557
untracked ! ( save_temps, true ) ;
558
558
untracked ! ( strip, Strip :: Debuginfo ) ;
559
+ // tidy-alphabetical-end
559
560
560
561
macro_rules! tracked {
561
562
( $name: ident, $non_default_value: expr) => {
@@ -567,7 +568,7 @@ fn test_codegen_options_tracking_hash() {
567
568
}
568
569
569
570
// Make sure that changing a [TRACKED] option changes the hash.
570
- // This list is in alphabetical order.
571
+ // tidy- alphabetical-start
571
572
tracked ! ( code_model, Some ( CodeModel :: Large ) ) ;
572
573
tracked ! ( control_flow_guard, CFGuard :: Checks ) ;
573
574
tracked ! ( debug_assertions, Some ( true ) ) ;
@@ -577,8 +578,8 @@ fn test_codegen_options_tracking_hash() {
577
578
tracked ! ( force_unwind_tables, Some ( true ) ) ;
578
579
tracked ! ( inline_threshold, Some ( 0xf007ba11 ) ) ;
579
580
tracked ! ( instrument_coverage, Some ( InstrumentCoverage :: All ) ) ;
580
- tracked ! ( linker_plugin_lto, LinkerPluginLto :: LinkerPluginAuto ) ;
581
581
tracked ! ( link_dead_code, Some ( true ) ) ;
582
+ tracked ! ( linker_plugin_lto, LinkerPluginLto :: LinkerPluginAuto ) ;
582
583
tracked ! ( llvm_args, vec![ String :: from( "1" ) , String :: from( "2" ) ] ) ;
583
584
tracked ! ( lto, LtoCli :: Fat ) ;
584
585
tracked ! ( metadata, vec![ String :: from( "A" ) , String :: from( "B" ) ] ) ;
@@ -599,6 +600,7 @@ fn test_codegen_options_tracking_hash() {
599
600
tracked ! ( symbol_mangling_version, Some ( SymbolManglingVersion :: V0 ) ) ;
600
601
tracked ! ( target_cpu, Some ( String :: from( "abc" ) ) ) ;
601
602
tracked ! ( target_feature, String :: from( "all the features, all of them" ) ) ;
603
+ // tidy-alphabetical-end
602
604
}
603
605
604
606
#[ test]
@@ -619,12 +621,13 @@ fn test_top_level_options_tracked_no_crate() {
619
621
}
620
622
621
623
// 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
624
625
tracked ! (
625
626
real_rust_source_base_dir,
626
627
Some ( "/home/bors/rust/.rustup/toolchains/nightly/lib/rustlib/src/rust" . into( ) )
627
628
) ;
629
+ tracked ! ( remap_path_prefix, vec![ ( "/home/bors/rust" . into( ) , "src" . into( ) ) ] ) ;
630
+ // tidy-alphabetical-end
628
631
}
629
632
630
633
#[ test]
@@ -641,7 +644,7 @@ fn test_unstable_options_tracking_hash() {
641
644
}
642
645
643
646
// Make sure that changing an [UNTRACKED] option leaves the hash unchanged.
644
- // This list is in alphabetical order.
647
+ // tidy- alphabetical-start
645
648
untracked ! ( assert_incr_state, Some ( String :: from( "loaded" ) ) ) ;
646
649
untracked ! ( deduplicate_diagnostics, false ) ;
647
650
untracked ! ( dep_tasks, true ) ;
@@ -678,12 +681,12 @@ fn test_unstable_options_tracking_hash() {
678
681
untracked ! ( perf_stats, true ) ;
679
682
// `pre_link_arg` is omitted because it just forwards to `pre_link_args`.
680
683
untracked ! ( pre_link_args, vec![ String :: from( "abc" ) , String :: from( "def" ) ] ) ;
681
- untracked ! ( profile_closures, true ) ;
682
684
untracked ! ( print_llvm_passes, true ) ;
683
685
untracked ! ( print_mono_items, Some ( String :: from( "abc" ) ) ) ;
684
686
untracked ! ( print_type_sizes, true ) ;
685
687
untracked ! ( proc_macro_backtrace, true ) ;
686
688
untracked ! ( proc_macro_execution_strategy, ProcMacroExecutionStrategy :: CrossThread ) ;
689
+ untracked ! ( profile_closures, true ) ;
687
690
untracked ! ( query_dep_graph, true ) ;
688
691
untracked ! ( save_analysis, true ) ;
689
692
untracked ! ( self_profile, SwitchWithOptPath :: Enabled ( None ) ) ;
@@ -701,6 +704,7 @@ fn test_unstable_options_tracking_hash() {
701
704
untracked ! ( unstable_options, true ) ;
702
705
untracked ! ( validate_mir, true ) ;
703
706
untracked ! ( verbose, true ) ;
707
+ // tidy-alphabetical-end
704
708
705
709
macro_rules! tracked {
706
710
( $name: ident, $non_default_value: expr) => {
@@ -712,7 +716,7 @@ fn test_unstable_options_tracking_hash() {
712
716
}
713
717
714
718
// Make sure that changing a [TRACKED] option changes the hash.
715
- // This list is in alphabetical order.
719
+ // tidy- alphabetical-start
716
720
tracked ! ( allow_features, Some ( vec![ String :: from( "lang_items" ) ] ) ) ;
717
721
tracked ! ( always_encode_mir, true ) ;
718
722
tracked ! ( asm_comments, true ) ;
@@ -733,10 +737,10 @@ fn test_unstable_options_tracking_hash() {
733
737
tracked ! ( debug_macros, true ) ;
734
738
tracked ! ( dep_info_omit_d_target, true ) ;
735
739
tracked ! ( drop_tracking, true ) ;
736
- tracked ! ( export_executable_symbols, true ) ;
737
740
tracked ! ( dual_proc_macros, true ) ;
738
741
tracked ! ( dwarf_version, Some ( 5 ) ) ;
739
742
tracked ! ( emit_thin_lto, false ) ;
743
+ tracked ! ( export_executable_symbols, true ) ;
740
744
tracked ! ( fewer_names, Some ( true ) ) ;
741
745
tracked ! ( force_unstable_if_unmarked, true ) ;
742
746
tracked ! ( fuel, Some ( ( "abc" . to_string( ) , 99 ) ) ) ;
@@ -759,8 +763,8 @@ fn test_unstable_options_tracking_hash() {
759
763
tracked ! ( mutable_noalias, Some ( true ) ) ;
760
764
tracked ! ( no_generate_arange_section, true ) ;
761
765
tracked ! ( no_link, true ) ;
762
- tracked ! ( no_unique_section_names, true ) ;
763
766
tracked ! ( no_profiler_runtime, true ) ;
767
+ tracked ! ( no_unique_section_names, true ) ;
764
768
tracked ! ( oom, OomStrategy :: Panic ) ;
765
769
tracked ! ( osx_rpath_install_name, true ) ;
766
770
tracked ! ( packed_bundled_libs, true ) ;
@@ -773,8 +777,8 @@ fn test_unstable_options_tracking_hash() {
773
777
tracked ! ( print_fuel, Some ( "abc" . to_string( ) ) ) ;
774
778
tracked ! ( profile, true ) ;
775
779
tracked ! ( profile_emit, Some ( PathBuf :: from( "abc" ) ) ) ;
776
- tracked ! ( profiler_runtime, "abc" . to_string( ) ) ;
777
780
tracked ! ( profile_sample_use, Some ( PathBuf :: from( "abc" ) ) ) ;
781
+ tracked ! ( profiler_runtime, "abc" . to_string( ) ) ;
778
782
tracked ! ( relax_elf_relocations, Some ( true ) ) ;
779
783
tracked ! ( relro_level, Some ( RelroLevel :: Full ) ) ;
780
784
tracked ! ( remap_cwd_prefix, Some ( PathBuf :: from( "abc" ) ) ) ;
@@ -803,6 +807,7 @@ fn test_unstable_options_tracking_hash() {
803
807
tracked ! ( verify_llvm_ir, true ) ;
804
808
tracked ! ( virtual_function_elimination, true ) ;
805
809
tracked ! ( wasi_exec_model, Some ( WasiExecModel :: Reactor ) ) ;
810
+ // tidy-alphabetical-end
806
811
807
812
macro_rules! tracked_no_crate_hash {
808
813
( $name: ident, $non_default_value: expr) => {
0 commit comments