Skip to content

Commit

Permalink
log current fd in stdio test
Browse files Browse the repository at this point in the history
  • Loading branch information
iximeow committed Jan 22, 2020
1 parent 9ada07c commit deb73fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/test-programs/wasi-tests/src/bin/stdio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ unsafe fn test_stdio() {
wasi_unstable::STDOUT_FD,
wasi_unstable::STDERR_FD,
] {
println!(" fd: {:?}", fd);
let mut fdstat: wasi_unstable::FdStat = MaybeUninit::zeroed().assume_init();
let status = wasi_fd_fdstat_get(*fd, &mut fdstat);
assert_eq!(
Expand Down

0 comments on commit deb73fa

Please sign in to comment.