Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5dc8c84

Browse filesBrowse files
authored
GH-115978: Disable *readv() and *writev() on WASI (GH-116228)
Wasmtime doesn't implement these functions in a way to pass test_posix (bytecodealliance/wasmtime#7830).
1 parent cad3745 commit 5dc8c84
Copy full SHA for 5dc8c84

File tree

Expand file treeCollapse file tree

2 files changed

+13
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

2 files changed

+13
-0
lines changed
Open diff view settings
Collapse file
+4Lines changed: 4 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Disable preadv(), readv(), pwritev(), and writev() on WASI.
2+
3+
Under wasmtime for WASI 0.2, these functions don't pass test_posix
4+
(https://github.com/bytecodealliance/wasmtime/issues/7830).
Collapse file

‎Tools/wasm/config.site-wasm32-wasi‎

Copy file name to clipboardExpand all lines: Tools/wasm/config.site-wasm32-wasi
+9Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,12 @@ ac_cv_header_netpacket_packet_h=no
4040

4141
# Disable int-conversion for wask-sdk as it triggers an error from version 17.
4242
ac_cv_disable_int_conversion=yes
43+
44+
# preadv(), readv(), pwritev(), and writev() under wasmtime's WASI 0.2 support
45+
# do not use more than the first buffer provided, failing under test_posix.
46+
# Since wasmtime will not be changing this behaviour, disable the functions.
47+
# https://github.com/bytecodealliance/wasmtime/issues/7830
48+
ac_cv_func_preadv=no
49+
ac_cv_func_readv=no
50+
ac_cv_func_pwritev=no
51+
ac_cv_func_writev=no

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.