-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
match more specifically against wasi 0.2.x
Signed-off-by: karthik2804 <[email protected]>
- Loading branch information
1 parent
b87cdb2
commit 775899a
Showing
3 changed files
with
4 additions
and
4 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
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.starts_with("wasi:http/[email protected]") | ||
|| 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