Skip to content

Commit 568d9bc

Browse files
fix: do not skip wasi:http export processing
This commit removes the ignored handling of `wasi:http/incoming-handler` which breaks components that have manually implemented the `handle` export. Signed-off-by: Victor Adossi <vadossi@cosmonic.com>
1 parent 18bb608 commit 568d9bc

File tree

1 file changed

+0
-3
lines changed
  • crates/spidermonkey-embedding-splicer/src

1 file changed

+0
-3
lines changed

crates/spidermonkey-embedding-splicer/src/bindgen.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -398,9 +398,6 @@ impl JsBindgen<'_> {
398398
) -> Result<()> {
399399
for (key, export) in &self.resolve.worlds[self.world].exports {
400400
let name = self.resolve.name_world_key(key);
401-
if name.starts_with("wasi:http/incoming-handler@0.2.") {
402-
continue;
403-
}
404401
// Do not generate exports when the guest export is not implemented.
405402
// We check both the full interface name - "ns:pkg@v/my-interface" and the
406403
// aliased interface name "myInterface". All other names are always

0 commit comments

Comments
 (0)