Skip to content

Commit 3005167

Browse files
committed
review: change invalid_argument to not_supported
1 parent f734f04 commit 3005167

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/wasi-common/src/snapshots/preview_1.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ impl wasi_snapshot_preview1::WasiSnapshotPreview1 for WasiCtx {
197197
.await
198198
} else {
199199
log::warn!("`fd_fdstat_set_flags` does not work with wasi-threads enabled; see https://github.com/bytecodealliance/wasmtime/issues/5643");
200-
Err(Error::invalid_argument())
200+
Err(Error::not_supported())
201201
}
202202
}
203203

0 commit comments

Comments
 (0)