We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4f33b77 + 5034322 commit 4066cbfCopy full SHA for 4066cbf
1 file changed
moz-webgpu-cts/src/report.rs
@@ -27,23 +27,23 @@ impl<'de> Deserialize<'de> for RunInfo {
27
struct ActualRunInfo {
28
os: String,
29
processor: String,
30
- win11_2009: bool,
31
debug: bool,
32
}
33
34
let ActualRunInfo {
35
os,
36
processor,
37
- win11_2009,
38
debug,
39
} = ActualRunInfo::deserialize(deserializer)?;
40
41
let platform = match &*os {
42
"win" => {
43
- if processor == "x86_64" && win11_2009 {
+ if processor == "x86_64" {
44
Platform::Windows
45
} else {
46
- return Err(D::Error::custom("asdf"));
+ return Err(D::Error::custom(
+ "platform was `win`, but `processor` was not `x86_64`",
+ ));
47
48
49
"mac" => Platform::MacOs,
0 commit comments