@@ -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 ,
@@ -1026,7 +1026,7 @@ fn copy_src_dirs(
10261026 }
10271027}
10281028
1029- #[ derive( Debug , PartialOrd , Ord , Clone , Hash , PartialEq , Eq ) ]
1029+ #[ derive( Debug , Clone , Hash , PartialEq , Eq ) ]
10301030pub struct Src ;
10311031
10321032impl Step for Src {
@@ -1087,7 +1087,7 @@ impl Step for Src {
10871087 }
10881088}
10891089
1090- #[ derive( Debug , PartialOrd , Ord , Clone , Hash , PartialEq , Eq ) ]
1090+ #[ derive( Debug , Clone , Hash , PartialEq , Eq ) ]
10911091pub struct PlainSourceTarball ;
10921092
10931093impl Step for PlainSourceTarball {
@@ -1233,7 +1233,7 @@ impl Step for PlainSourceTarball {
12331233 }
12341234}
12351235
1236- #[ derive( Debug , PartialOrd , Ord , Clone , Hash , PartialEq , Eq ) ]
1236+ #[ derive( Debug , Clone , Hash , PartialEq , Eq ) ]
12371237pub struct Cargo {
12381238 pub build_compiler : Compiler ,
12391239 pub target : TargetSelection ,
@@ -1287,7 +1287,7 @@ impl Step for Cargo {
12871287 }
12881288}
12891289
1290- #[ derive( Debug , PartialOrd , Ord , Clone , Hash , PartialEq , Eq ) ]
1290+ #[ derive( Debug , Clone , Hash , PartialEq , Eq ) ]
12911291pub struct RustAnalyzer {
12921292 pub build_compiler : Compiler ,
12931293 pub target : TargetSelection ,
@@ -1563,7 +1563,7 @@ impl Step for Rustfmt {
15631563 }
15641564}
15651565
1566- #[ derive( Debug , PartialOrd , Ord , Clone , Hash , PartialEq , Eq ) ]
1566+ #[ derive( Debug , Clone , Hash , PartialEq , Eq ) ]
15671567pub struct Extended {
15681568 stage : u32 ,
15691569 host : TargetSelection ,
@@ -2404,7 +2404,7 @@ impl Step for LlvmTools {
24042404
24052405/// Distributes the `llvm-bitcode-linker` tool so that it can be used by a compiler whose host
24062406/// is `target`.
2407- #[ derive( Debug , PartialOrd , Ord , Clone , Hash , PartialEq , Eq ) ]
2407+ #[ derive( Debug , Clone , Hash , PartialEq , Eq ) ]
24082408pub struct LlvmBitcodeLinker {
24092409 /// The linker will be compiled by this compiler.
24102410 pub build_compiler : Compiler ,
0 commit comments