Commit b2a80d7
wasi: add wasi sock_accept stub
Refs: nodejs/uvwasi#185
Add stub for sock_accept so that we have stubs
for all of the sock methods in wasi_snapshot_preview1.
Its a bit awkward as the method was added after the
initial definitial of wasi_snapshot-preview1 but I
think it should be semver minor at most to add
the method.
Depends on nodejs/uvwasi#185
being landed in uvwasi first and an updated version
of uvwasi that includes that being pulled into
Node.js
Signed-off-by: Michael Dawson <mdawson@devrus.com>
PR-URL: #46434
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>1 parent 7ab7f97 commit b2a80d7Copy full SHA for b2a80d7
File tree
Expand file treeCollapse file tree
5 files changed
+35
-0
lines changedOpen diff view settings
Filter options
- src
- test/wasi
- c
- wasm
Expand file treeCollapse file tree
5 files changed
+35
-0
lines changedOpen diff view settings
Collapse file
+16Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1148 | 1148 | |
1149 | 1149 | |
1150 | 1150 | |
| 1151 | + |
| 1152 | + |
| 1153 | + |
| 1154 | + |
| 1155 | + |
| 1156 | + |
| 1157 | + |
| 1158 | + |
| 1159 | + |
| 1160 | + |
| 1161 | + |
| 1162 | + |
| 1163 | + |
| 1164 | + |
| 1165 | + |
1151 | 1166 | |
1152 | 1167 | |
1153 | 1168 | |
| ||
1303 | 1318 | |
1304 | 1319 | |
1305 | 1320 | |
| 1321 | + |
1306 | 1322 | |
1307 | 1323 | |
1308 | 1324 | |
|
Collapse file
+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
131 | 131 | |
132 | 132 | |
133 | 133 | |
| 134 | + |
134 | 135 | |
135 | 136 | |
136 | 137 | |
|
Collapse file
test/wasi/c/sock.c
Copy file name to clipboard+17Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
Collapse file
+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
137 | 137 | |
138 | 138 | |
139 | 139 | |
| 140 | + |
140 | 141 | |
141 | 142 | |
142 | 143 | |
|
Binary file not shown.
0 commit comments