-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: allow to retain fetchEvent on all wasi 0.2.x versions (#178)
- Loading branch information
1 parent
d8dd995
commit 54bbab4
Showing
5 changed files
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -429,7 +429,7 @@ impl JsBindgen<'_> { | |
// can be used when an explicit export is not | ||
// defined by the guest content. | ||
if iface_name == "incoming-handler" | ||
|| name == "wasi:http/[email protected].0" | ||
|| name.starts_with("wasi:http/[email protected].") | ||
{ | ||
if !features.contains(&Features::Http) { | ||
bail!( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -176,7 +176,7 @@ impl Guest for SpidermonkeyEmbeddingSplicerComponent { | |
.find(|(key, _)| { | ||
engine_resolve | ||
.name_world_key(key) | ||
.starts_with("wasi:http/[email protected]") | ||
.starts_with("wasi:http/[email protected].") | ||
}) | ||
.map(|(key, _)| key.clone()); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters