This commit is contained in:
newpavlov 2019-08-19 15:33:05 +03:00
parent 338fc7d042
commit 7658a13c65

View file

@ -48,7 +48,7 @@ impl Thread {
let wasi::Event { userdata, error, type_, .. } = out[0];
match (n, userdata, error) {
(1, 0x0123_45678, 0) if type_ == wasi::EVENTTYPE_CLOCK => {}
_ => panic!("thread::sleep(): unexpected result of poll_oneof"),
_ => panic!("thread::sleep(): unexpected result of poll_oneoff"),
}
}