This commit is contained in:
Pat Hickey
2021-02-09 16:48:51 -08:00
committed by Dan Gohman
parent bc95864202
commit 9abae356e0

View File

@@ -55,7 +55,6 @@ unsafe fn test_path_exists(dir_fd: wasi::Fd) {
} }
fn main() { fn main() {
/*
let mut args = env::args(); let mut args = env::args();
let prog = args.next().unwrap(); let prog = args.next().unwrap();
let arg = if let Some(arg) = args.next() { let arg = if let Some(arg) = args.next() {
@@ -73,7 +72,6 @@ fn main() {
process::exit(1) process::exit(1)
} }
}; };
*/
// Run the tests. // Run the tests.
unsafe { test_path_exists(3) } unsafe { test_path_exists(dir_fd) }
} }