Skip to content

Commit 3081f96

Browse files
Remove warning about stubbed imports (#188)
The warning added in #185 turns out to be too noisy: there are too many situations in which an import exists, but should be stubbed. In particular once StarlingMonkey is updated to include bytecodealliance/StarlingMonkey#218, the warning would essentially be shown for every component, because in most cases, the target world won't contain the necessary interfaces, by design.
1 parent d547574 commit 3081f96

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ where
4848
let mut builder = FunctionBuilder::new(params.as_slice(), results.as_slice());
4949
let _args = stub(&mut builder)?;
5050

51-
println!("Warning: the component import '{full_import}#{name}' isn't listed in the target WIT world, and will abort execution when called.");
5251
builder.replace_import_in_module(module, iid);
5352

5453
return Ok(Some(fid));

0 commit comments

Comments
 (0)