mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-09 22:49:57 +09:00
Remove vm in path_from_fd
This commit is contained in:
@@ -170,7 +170,7 @@ fn path_from_fd(raw_fd: i64) -> Result<PathBuf, String> {
|
||||
};
|
||||
Ok(path)
|
||||
} else {
|
||||
Err(vm.new_os_error("fd not supported on wasi yet".to_owned()));
|
||||
Err("fd not supported on wasi yet");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user