From 9abae356e004d2f901eff6f3317625180180e864 Mon Sep 17 00:00:00 2001 From: Pat Hickey Date: Tue, 9 Feb 2021 16:48:51 -0800 Subject: [PATCH] fix! --- crates/test-programs/wasi-tests/src/bin/path_exists.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/crates/test-programs/wasi-tests/src/bin/path_exists.rs b/crates/test-programs/wasi-tests/src/bin/path_exists.rs index 8fa763161d..c4d7a04667 100644 --- a/crates/test-programs/wasi-tests/src/bin/path_exists.rs +++ b/crates/test-programs/wasi-tests/src/bin/path_exists.rs @@ -55,7 +55,6 @@ unsafe fn test_path_exists(dir_fd: wasi::Fd) { } fn main() { - /* let mut args = env::args(); let prog = args.next().unwrap(); let arg = if let Some(arg) = args.next() { @@ -73,7 +72,6 @@ fn main() { process::exit(1) } }; - */ // Run the tests. - unsafe { test_path_exists(3) } + unsafe { test_path_exists(dir_fd) } }