We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b58a555 commit 1209cf5Copy full SHA for 1209cf5
tests/rust/src/bin/path_link.rs
@@ -94,6 +94,7 @@ unsafe fn test_path_link(dir_fd: wasi::Fd) {
94
wasi::path_unlink_file(subdir_fd, "link").expect("removing a link");
95
wasi::fd_close(subdir_fd).expect("Closing subdir_fd"); // needed for Windows
96
wasi::fd_close(link_fd).expect("Closing link_fd"); // needed for Windows
97
+ wasi::fd_close(file_fd).expect("Closing file_fd"); // needed for Windows
98
wasi::path_remove_directory(dir_fd, "subdir").expect("removing a subdirectory");
99
100
// Create a link to a path that already exists
0 commit comments