Update wasi-tests to wasi 0.11. (#5488)
This updates the tests to version 0.11 of the wasi bindings. There aren't any fundamental changes here; this just syncs up with the latest version so that it's consistent with other users of the wasi APIs.
This commit is contained in:
@@ -7,8 +7,7 @@ unsafe fn test_path_open_missing(dir_fd: wasi::Fd) {
|
||||
dir_fd, 0, "file", 0, // not passing O_CREAT here
|
||||
0, 0, 0,
|
||||
)
|
||||
.expect_err("trying to open a file that doesn't exist")
|
||||
.raw_error(),
|
||||
.expect_err("trying to open a file that doesn't exist"),
|
||||
wasi::ERRNO_NOENT
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user