Skip to content

Commit

Permalink
Add a big warning for the component execution path
Browse files Browse the repository at this point in the history
  • Loading branch information
elliottt committed May 8, 2024
1 parent 230ff8f commit b815720
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions lib/src/execute.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,19 @@ impl ExecuteCtx {
"Wasm components do not support unknown import behaviors other than link-time errors",
);

eprintln!("
+------------------------------------------------------------------------+
| |
| WARNING |
| |
| Wasm Component support in viceroy is in active development, and is not |
| supported for general consumption. |
| |
+------------------------------------------------------------------------+
");

let mut linker: component::Linker<ComponentCtx> = component::Linker::new(&engine);
compute::link_host_functions(&mut linker)?;
let component = if is_wat {
Expand Down

0 comments on commit b815720

Please sign in to comment.