@@ -54,7 +54,7 @@ fn should_build_extended_tool(builder: &Builder<'_>, tool: &str) -> bool {
54
54
builder. config . tools . as_ref ( ) . is_none_or ( |tools| tools. contains ( tool) )
55
55
}
56
56
57
- #[ derive( Debug , PartialOrd , Ord , Clone , Hash , PartialEq , Eq ) ]
57
+ #[ derive( Debug , Clone , Hash , PartialEq , Eq ) ]
58
58
pub struct Docs {
59
59
pub host : TargetSelection ,
60
60
}
@@ -91,7 +91,7 @@ impl Step for Docs {
91
91
}
92
92
}
93
93
94
- #[ derive( Debug , PartialOrd , Ord , Clone , Hash , PartialEq , Eq ) ]
94
+ #[ derive( Debug , Clone , Hash , PartialEq , Eq ) ]
95
95
pub struct JsonDocs {
96
96
build_compiler : Compiler ,
97
97
target : TargetSelection ,
@@ -354,7 +354,7 @@ fn get_cc_search_dirs(
354
354
( bin_path, lib_path)
355
355
}
356
356
357
- #[ derive( Debug , PartialOrd , Ord , Clone , Hash , PartialEq , Eq ) ]
357
+ #[ derive( Debug , Clone , Hash , PartialEq , Eq ) ]
358
358
pub struct Mingw {
359
359
pub host : TargetSelection ,
360
360
}
@@ -394,7 +394,7 @@ impl Step for Mingw {
394
394
}
395
395
}
396
396
397
- #[ derive( Debug , PartialOrd , Ord , Clone , Hash , PartialEq , Eq ) ]
397
+ #[ derive( Debug , Clone , Hash , PartialEq , Eq ) ]
398
398
pub struct Rustc {
399
399
pub compiler : Compiler ,
400
400
}
@@ -730,7 +730,7 @@ fn copy_target_libs(
730
730
}
731
731
}
732
732
733
- #[ derive( Debug , PartialOrd , Ord , Clone , Hash , PartialEq , Eq ) ]
733
+ #[ derive( Debug , Clone , Hash , PartialEq , Eq ) ]
734
734
pub struct Std {
735
735
pub compiler : Compiler ,
736
736
pub target : TargetSelection ,
@@ -785,7 +785,7 @@ impl Step for Std {
785
785
/// `rust.download-rustc`.
786
786
///
787
787
/// (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 ) ]
789
789
pub struct RustcDev {
790
790
pub compiler : Compiler ,
791
791
pub target : TargetSelection ,
@@ -1026,7 +1026,7 @@ fn copy_src_dirs(
1026
1026
}
1027
1027
}
1028
1028
1029
- #[ derive( Debug , PartialOrd , Ord , Clone , Hash , PartialEq , Eq ) ]
1029
+ #[ derive( Debug , Clone , Hash , PartialEq , Eq ) ]
1030
1030
pub struct Src ;
1031
1031
1032
1032
impl Step for Src {
@@ -1087,7 +1087,7 @@ impl Step for Src {
1087
1087
}
1088
1088
}
1089
1089
1090
- #[ derive( Debug , PartialOrd , Ord , Clone , Hash , PartialEq , Eq ) ]
1090
+ #[ derive( Debug , Clone , Hash , PartialEq , Eq ) ]
1091
1091
pub struct PlainSourceTarball ;
1092
1092
1093
1093
impl Step for PlainSourceTarball {
@@ -1233,7 +1233,7 @@ impl Step for PlainSourceTarball {
1233
1233
}
1234
1234
}
1235
1235
1236
- #[ derive( Debug , PartialOrd , Ord , Clone , Hash , PartialEq , Eq ) ]
1236
+ #[ derive( Debug , Clone , Hash , PartialEq , Eq ) ]
1237
1237
pub struct Cargo {
1238
1238
pub build_compiler : Compiler ,
1239
1239
pub target : TargetSelection ,
@@ -1287,7 +1287,7 @@ impl Step for Cargo {
1287
1287
}
1288
1288
}
1289
1289
1290
- #[ derive( Debug , PartialOrd , Ord , Clone , Hash , PartialEq , Eq ) ]
1290
+ #[ derive( Debug , Clone , Hash , PartialEq , Eq ) ]
1291
1291
pub struct RustAnalyzer {
1292
1292
pub build_compiler : Compiler ,
1293
1293
pub target : TargetSelection ,
@@ -1563,7 +1563,7 @@ impl Step for Rustfmt {
1563
1563
}
1564
1564
}
1565
1565
1566
- #[ derive( Debug , PartialOrd , Ord , Clone , Hash , PartialEq , Eq ) ]
1566
+ #[ derive( Debug , Clone , Hash , PartialEq , Eq ) ]
1567
1567
pub struct Extended {
1568
1568
stage : u32 ,
1569
1569
host : TargetSelection ,
@@ -2404,7 +2404,7 @@ impl Step for LlvmTools {
2404
2404
2405
2405
/// Distributes the `llvm-bitcode-linker` tool so that it can be used by a compiler whose host
2406
2406
/// is `target`.
2407
- #[ derive( Debug , PartialOrd , Ord , Clone , Hash , PartialEq , Eq ) ]
2407
+ #[ derive( Debug , Clone , Hash , PartialEq , Eq ) ]
2408
2408
pub struct LlvmBitcodeLinker {
2409
2409
/// The linker will be compiled by this compiler.
2410
2410
pub build_compiler : Compiler ,
0 commit comments