Skip to content

Commit

Permalink
Add StdioTriggerHook to spin builder (#170)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xE282B0 authored Oct 25, 2023
1 parent 50dd14f commit 1d8c9ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions containerd-shim-spin-v1/src/engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 1d8c9ea

Please sign in to comment.