@@ -54,7 +54,7 @@ fn should_build_extended_tool(builder: &Builder<'_>, tool: &str) -> bool {
5454 builder. config . tools . as_ref ( ) . is_none_or ( |tools| tools. contains ( tool) )
5555}
5656
57- #[ derive( Debug , PartialOrd , Ord , Clone , Hash , PartialEq , Eq ) ]
57+ #[ derive( Debug , Clone , Hash , PartialEq , Eq ) ]
5858pub struct Docs {
5959 pub host : TargetSelection ,
6060}
@@ -91,7 +91,7 @@ impl Step for Docs {
9191 }
9292}
9393
94- #[ derive( Debug , PartialOrd , Ord , Clone , Hash , PartialEq , Eq ) ]
94+ #[ derive( Debug , Clone , Hash , PartialEq , Eq ) ]
9595pub struct JsonDocs {
9696 build_compiler : Compiler ,
9797 target : TargetSelection ,
@@ -354,7 +354,7 @@ fn get_cc_search_dirs(
354354 ( bin_path, lib_path)
355355}
356356
357- #[ derive( Debug , PartialOrd , Ord , Clone , Hash , PartialEq , Eq ) ]
357+ #[ derive( Debug , Clone , Hash , PartialEq , Eq ) ]
358358pub struct Mingw {
359359 pub host : TargetSelection ,
360360}
@@ -394,7 +394,7 @@ impl Step for Mingw {
394394 }
395395}
396396
397- #[ derive( Debug , PartialOrd , Ord , Clone , Hash , PartialEq , Eq ) ]
397+ #[ derive( Debug , Clone , Hash , PartialEq , Eq ) ]
398398pub struct Rustc {
399399 pub compiler : Compiler ,
400400}
@@ -730,7 +730,7 @@ fn copy_target_libs(
730730 }
731731}
732732
733- #[ derive( Debug , PartialOrd , Ord , Clone , Hash , PartialEq , Eq ) ]
733+ #[ derive( Debug , Clone , Hash , PartialEq , Eq ) ]
734734pub struct Std {
735735 pub compiler : Compiler ,
736736 pub target : TargetSelection ,
@@ -785,7 +785,7 @@ impl Step for Std {
785785/// `rust.download-rustc`.
786786///
787787/// (Don't confuse this with [`RustDev`], without the `c`!)
788- #[ derive( Debug , PartialOrd , Ord , Clone , Hash , PartialEq , Eq ) ]
788+ #[ derive( Debug , Clone , Hash , PartialEq , Eq ) ]
789789pub struct RustcDev {
790790 pub compiler : Compiler ,
791791 pub target : TargetSelection ,
@@ -1023,7 +1023,7 @@ fn copy_src_dirs(
10231023 }
10241024}
10251025
1026- #[ derive( Debug , PartialOrd , Ord , Clone , Hash , PartialEq , Eq ) ]
1026+ #[ derive( Debug , Clone , Hash , PartialEq , Eq ) ]
10271027pub struct Src ;
10281028
10291029impl Step for Src {
@@ -1084,7 +1084,7 @@ impl Step for Src {
10841084 }
10851085}
10861086
1087- #[ derive( Debug , PartialOrd , Ord , Clone , Hash , PartialEq , Eq ) ]
1087+ #[ derive( Debug , Clone , Hash , PartialEq , Eq ) ]
10881088pub struct PlainSourceTarball ;
10891089
10901090impl Step for PlainSourceTarball {
@@ -1230,7 +1230,7 @@ impl Step for PlainSourceTarball {
12301230 }
12311231}
12321232
1233- #[ derive( Debug , PartialOrd , Ord , Clone , Hash , PartialEq , Eq ) ]
1233+ #[ derive( Debug , Clone , Hash , PartialEq , Eq ) ]
12341234pub struct Cargo {
12351235 pub build_compiler : Compiler ,
12361236 pub target : TargetSelection ,
@@ -1284,7 +1284,7 @@ impl Step for Cargo {
12841284 }
12851285}
12861286
1287- #[ derive( Debug , PartialOrd , Ord , Clone , Hash , PartialEq , Eq ) ]
1287+ #[ derive( Debug , Clone , Hash , PartialEq , Eq ) ]
12881288pub struct RustAnalyzer {
12891289 pub build_compiler : Compiler ,
12901290 pub target : TargetSelection ,
@@ -1560,7 +1560,7 @@ impl Step for Rustfmt {
15601560 }
15611561}
15621562
1563- #[ derive( Debug , PartialOrd , Ord , Clone , Hash , PartialEq , Eq ) ]
1563+ #[ derive( Debug , Clone , Hash , PartialEq , Eq ) ]
15641564pub struct Extended {
15651565 stage : u32 ,
15661566 host : TargetSelection ,
@@ -2401,7 +2401,7 @@ impl Step for LlvmTools {
24012401
24022402/// Distributes the `llvm-bitcode-linker` tool so that it can be used by a compiler whose host
24032403/// is `target`.
2404- #[ derive( Debug , PartialOrd , Ord , Clone , Hash , PartialEq , Eq ) ]
2404+ #[ derive( Debug , Clone , Hash , PartialEq , Eq ) ]
24052405pub struct LlvmBitcodeLinker {
24062406 /// The linker will be compiled by this compiler.
24072407 pub build_compiler : Compiler ,
0 commit comments