@@ -56,7 +56,7 @@ fn should_build_extended_tool(builder: &Builder<'_>, tool: &str) -> bool {
5656 builder. config . tools . as_ref ( ) . is_none_or ( |tools| tools. contains ( tool) )
5757}
5858
59- #[ derive( Debug , PartialOrd , Ord , Clone , Hash , PartialEq , Eq ) ]
59+ #[ derive( Debug , Clone , Hash , PartialEq , Eq ) ]
6060pub struct Docs {
6161 pub host : TargetSelection ,
6262}
@@ -96,7 +96,7 @@ impl Step for Docs {
9696 }
9797}
9898
99- #[ derive( Debug , PartialOrd , Ord , Clone , Hash , PartialEq , Eq ) ]
99+ #[ derive( Debug , Clone , Hash , PartialEq , Eq ) ]
100100pub struct JsonDocs {
101101 build_compiler : Compiler ,
102102 target : TargetSelection ,
@@ -369,7 +369,7 @@ fn get_cc_search_dirs(
369369///
370370/// This contains all the bits and pieces to run the MinGW Windows targets
371371/// without any extra installed software (e.g., we bundle gcc, libraries, etc.).
372- #[ derive( Debug , PartialOrd , Ord , Clone , Hash , PartialEq , Eq ) ]
372+ #[ derive( Debug , Clone , Hash , PartialEq , Eq ) ]
373373pub struct Mingw {
374374 target : TargetSelection ,
375375}
@@ -414,7 +414,7 @@ impl Step for Mingw {
414414/// - The licenses of all code used by the compiler.
415415///
416416/// It does not include any standard library.
417- #[ derive( Debug , PartialOrd , Ord , Clone , Hash , PartialEq , Eq ) ]
417+ #[ derive( Debug , Clone , Hash , PartialEq , Eq ) ]
418418pub struct Rustc {
419419 /// This is the compiler that we will *ship* in this dist step.
420420 pub target_compiler : Compiler ,
@@ -755,7 +755,7 @@ fn copy_target_libs(
755755///
756756/// Note that due to uplifting, we actually ship the stage 1 library
757757/// (built using the stage1 compiler) even with a stage 2 dist, unless `full-bootstrap` is enabled.
758- #[ derive( Debug , PartialOrd , Ord , Clone , Hash , PartialEq , Eq ) ]
758+ #[ derive( Debug , Clone , Hash , PartialEq , Eq ) ]
759759pub struct Std {
760760 /// Compiler that will build the standard library.
761761 pub build_compiler : Compiler ,
@@ -823,7 +823,7 @@ impl Step for Std {
823823/// `rust.download-rustc`.
824824///
825825/// (Don't confuse this with [`RustDev`], without the `c`!)
826- #[ derive( Debug , PartialOrd , Ord , Clone , Hash , PartialEq , Eq ) ]
826+ #[ derive( Debug , Clone , Hash , PartialEq , Eq ) ]
827827pub struct RustcDev {
828828 /// The compiler that will build rustc which will be shipped in this component.
829829 build_compiler : Compiler ,
@@ -1061,7 +1061,7 @@ fn copy_src_dirs(
10611061 }
10621062}
10631063
1064- #[ derive( Debug , PartialOrd , Ord , Clone , Hash , PartialEq , Eq ) ]
1064+ #[ derive( Debug , Clone , Hash , PartialEq , Eq ) ]
10651065pub struct Src ;
10661066
10671067impl Step for Src {
@@ -1122,7 +1122,7 @@ impl Step for Src {
11221122 }
11231123}
11241124
1125- #[ derive( Debug , PartialOrd , Ord , Clone , Hash , PartialEq , Eq ) ]
1125+ #[ derive( Debug , Clone , Hash , PartialEq , Eq ) ]
11261126pub struct PlainSourceTarball ;
11271127
11281128impl Step for PlainSourceTarball {
@@ -2437,7 +2437,7 @@ impl Step for LlvmTools {
24372437
24382438/// Distributes the `llvm-bitcode-linker` tool so that it can be used by a compiler whose host
24392439/// is `target`.
2440- #[ derive( Debug , PartialOrd , Ord , Clone , Hash , PartialEq , Eq ) ]
2440+ #[ derive( Debug , Clone , Hash , PartialEq , Eq ) ]
24412441pub struct LlvmBitcodeLinker {
24422442 /// The linker will be compiled by this compiler.
24432443 pub build_compiler : Compiler ,
0 commit comments