Commit 4bf2d7e
fix: logic for stubbing outgoing http and fetch-event (#268)
* fix: logic for stubbing outgoing http and fetch-event
This commit fixes one bug and refactors the code to be more granular
in the case of differing feature sets.
The reality is more nuanced -- as we must stub wasi:http/types
differently depending on whether fetch-event is separately enabled.
* fix: improve comment explaining stubbing
Co-authored-by: Till Schneidereit <till@tillschneidereit.net>
---------
Co-authored-by: Till Schneidereit <till@tillschneidereit.net>1 parent e5a38cd commit 4bf2d7e
1 file changed
+30
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | | - | |
143 | | - | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
144 | 161 | | |
145 | 162 | | |
146 | 163 | | |
| |||
380 | 397 | | |
381 | 398 | | |
382 | 399 | | |
383 | | - | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
384 | 411 | | |
385 | 412 | | |
386 | 413 | | |
| |||
753 | 780 | | |
754 | 781 | | |
755 | 782 | | |
756 | | - | |
757 | | - | |
758 | | - | |
759 | | - | |
760 | | - | |
761 | | - | |
762 | 783 | | |
763 | 784 | | |
764 | 785 | | |
| |||
0 commit comments