This commit is contained in:
Pat Hickey
2021-05-07 15:19:17 -07:00
parent 68fdadde26
commit b450094dad

View File

@@ -68,6 +68,7 @@ unsafe fn test_stdin_read() {
} }
fn writable_subs(h: &HashMap<u64, wasi::Fd>) -> Vec<wasi::Subscription> { fn writable_subs(h: &HashMap<u64, wasi::Fd>) -> Vec<wasi::Subscription> {
println!("writable subs: {:?}", h);
h.iter() h.iter()
.map(|(ud, fd)| wasi::Subscription { .map(|(ud, fd)| wasi::Subscription {
userdata: *ud, userdata: *ud,