diff --git a/vm/src/stdlib/os.rs b/vm/src/stdlib/os.rs index f540b4428..c053cda61 100644 --- a/vm/src/stdlib/os.rs +++ b/vm/src/stdlib/os.rs @@ -170,7 +170,7 @@ fn path_from_fd(raw_fd: i64) -> Result { }; Ok(path) } else { - Err(vm.new_os_error("fd not supported on wasi yet".to_owned())); + Err("fd not supported on wasi yet"); } } }