Skip to content

Commit 9c57faf

Browse files
fix: add usable error message to Windows platform detection failures
1 parent 4f33b77 commit 9c57faf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

moz-webgpu-cts/src/report.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ impl<'de> Deserialize<'de> for RunInfo {
4343
if processor == "x86_64" && win11_2009 {
4444
Platform::Windows
4545
} else {
46-
return Err(D::Error::custom("asdf"));
46+
return Err(D::Error::custom("unrecognized Windows version"));
4747
}
4848
}
4949
"mac" => Platform::MacOs,

0 commit comments

Comments
 (0)