Skip to content

Commit c20541f

Browse files
committed
fix tests
1 parent 754af72 commit c20541f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/bootstrap/config.rs

+3
Original file line numberDiff line numberDiff line change
@@ -721,19 +721,22 @@ define_config! {
721721
}
722722

723723
#[derive(Default, Deserialize)]
724+
#[cfg_attr(test, derive(Clone))]
724725
pub struct Stage0Metadata {
725726
pub config: Stage0Config,
726727
pub checksums_sha256: HashMap<String, String>,
727728
pub rustfmt: Option<RustfmtMetadata>,
728729
}
729730
#[derive(Default, Deserialize)]
731+
#[cfg_attr(test, derive(Clone))]
730732
pub struct Stage0Config {
731733
pub dist_server: String,
732734
pub artifacts_server: String,
733735
pub artifacts_with_llvm_assertions_server: String,
734736
pub git_merge_commit_email: String,
735737
}
736738
#[derive(Default, Deserialize)]
739+
#[cfg_attr(test, derive(Clone))]
737740
pub struct RustfmtMetadata {
738741
pub date: String,
739742
pub version: String,

0 commit comments

Comments
 (0)