Skip to content

Commit aae9de3

Browse files
committed
Use serde to encode/decode manifests
1 parent b46252a commit aae9de3

File tree

5 files changed

+203
-320
lines changed

5 files changed

+203
-320
lines changed

src/dist/dist.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,8 @@ pub struct ToolchainDesc {
140140
pub target: TargetTriple,
141141
}
142142

143-
#[derive(Debug, Clone, Eq, PartialEq, Ord, PartialOrd, Hash)]
143+
#[derive(Debug, Clone, Deserialize, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize)]
144+
#[serde(transparent)]
144145
pub struct TargetTriple(String);
145146

146147
// Linux hosts don't indicate clib in uname, however binaries only

0 commit comments

Comments
 (0)