Skip to content

Commit 0da5051

Browse files
authored
Merge pull request #1993 from michelleN/removewarning
2 parents 671f599 + 1b7b31e commit 0da5051

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

crates/trigger/src/loader.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,6 @@ impl Loader for TriggerLoader {
5656
)
5757
})?;
5858
let component = spin_componentize::componentize_if_necessary(&bytes)?;
59-
let was_already_component = matches!(component, std::borrow::Cow::Borrowed(_));
60-
if was_already_component {
61-
terminal::warn!(
62-
"Spin component at path {} is a WebAssembly component instead of a \
63-
WebAssembly module. Use of the WebAssembly component model is an experimental feature.",
64-
path.display()
65-
)
66-
}
6759
spin_core::Component::new(engine, component.as_ref())
6860
.with_context(|| format!("loading module {path:?}"))
6961
}

0 commit comments

Comments
 (0)