@@ -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 ,
@@ -1023,7 +1023,7 @@ fn copy_src_dirs(
1023
1023
}
1024
1024
}
1025
1025
1026
- #[ derive( Debug , PartialOrd , Ord , Clone , Hash , PartialEq , Eq ) ]
1026
+ #[ derive( Debug , Clone , Hash , PartialEq , Eq ) ]
1027
1027
pub struct Src ;
1028
1028
1029
1029
impl Step for Src {
@@ -1084,7 +1084,7 @@ impl Step for Src {
1084
1084
}
1085
1085
}
1086
1086
1087
- #[ derive( Debug , PartialOrd , Ord , Clone , Hash , PartialEq , Eq ) ]
1087
+ #[ derive( Debug , Clone , Hash , PartialEq , Eq ) ]
1088
1088
pub struct PlainSourceTarball ;
1089
1089
1090
1090
impl Step for PlainSourceTarball {
@@ -1230,7 +1230,7 @@ impl Step for PlainSourceTarball {
1230
1230
}
1231
1231
}
1232
1232
1233
- #[ derive( Debug , PartialOrd , Ord , Clone , Hash , PartialEq , Eq ) ]
1233
+ #[ derive( Debug , Clone , Hash , PartialEq , Eq ) ]
1234
1234
pub struct Cargo {
1235
1235
pub build_compiler : Compiler ,
1236
1236
pub target : TargetSelection ,
@@ -1284,7 +1284,7 @@ impl Step for Cargo {
1284
1284
}
1285
1285
}
1286
1286
1287
- #[ derive( Debug , PartialOrd , Ord , Clone , Hash , PartialEq , Eq ) ]
1287
+ #[ derive( Debug , Clone , Hash , PartialEq , Eq ) ]
1288
1288
pub struct RustAnalyzer {
1289
1289
pub build_compiler : Compiler ,
1290
1290
pub target : TargetSelection ,
@@ -1560,7 +1560,7 @@ impl Step for Rustfmt {
1560
1560
}
1561
1561
}
1562
1562
1563
- #[ derive( Debug , PartialOrd , Ord , Clone , Hash , PartialEq , Eq ) ]
1563
+ #[ derive( Debug , Clone , Hash , PartialEq , Eq ) ]
1564
1564
pub struct Extended {
1565
1565
stage : u32 ,
1566
1566
host : TargetSelection ,
@@ -2401,7 +2401,7 @@ impl Step for LlvmTools {
2401
2401
2402
2402
/// Distributes the `llvm-bitcode-linker` tool so that it can be used by a compiler whose host
2403
2403
/// is `target`.
2404
- #[ derive( Debug , PartialOrd , Ord , Clone , Hash , PartialEq , Eq ) ]
2404
+ #[ derive( Debug , Clone , Hash , PartialEq , Eq ) ]
2405
2405
pub struct LlvmBitcodeLinker {
2406
2406
/// The linker will be compiled by this compiler.
2407
2407
pub build_compiler : Compiler ,
0 commit comments