Skip to content

Commit

Permalink
Allow to retain fetchEvent on all wasi 0.2.x versions
Browse files Browse the repository at this point in the history
Signed-off-by: karthik2804 <[email protected]>
  • Loading branch information
karthik2804 committed Jan 16, 2025
1 parent d8dd995 commit f8e41c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/spidermonkey-embedding-splicer/src/bindgen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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!(
Expand Down

0 comments on commit f8e41c4

Please sign in to comment.