8000 Use wasi crate for Core API by newpavlov · Pull Request #63676 · rust-lang/rust · GitHub
[go: up one dir, main page]

Skip to content

Use wasi crate for Core API #63676

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 23 commits into from
Sep 6, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
typo fix
  • Loading branch information
newpavlov committed Aug 19, 2019
commit 7658a13c650e3dd931250f6039c4f12bcc77534f
2 changes: 1 addition & 1 deletion src/libstd/sys/wasi/thread.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
}
}

Expand Down
0