From c6abe3473a3485dd00b509f6809e353e46383c1d Mon Sep 17 00:00:00 2001 From: Sven Pfennig Date: Tue, 24 Oct 2023 15:01:16 +0200 Subject: [PATCH] Add StdioTriggerHook to spin builder --- containerd-shim-spin-v1/src/engine.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/containerd-shim-spin-v1/src/engine.rs b/containerd-shim-spin-v1/src/engine.rs index 6890dcd..c73013b 100644 --- a/containerd-shim-spin-v1/src/engine.rs +++ b/containerd-shim-spin-v1/src/engine.rs @@ -65,6 +65,7 @@ impl SpinEngine { let runtime_config = RuntimeConfig::new(PathBuf::from("/").into()); let mut builder = TriggerExecutorBuilder::new(loader); builder + .hooks(StdioTriggerHook{}) .config_mut() .wasmtime_config() .cranelift_opt_level(OptLevel::Speed);