(&self)
| 26 | |
| 27 | impl RunTarget { |
| 28 | pub fn unwrap_core(&self) -> &Module { |
| 29 | match self { |
| 30 | RunTarget::Core(module) => module, |
| 31 | #[cfg(feature = "component-model")] |
| 32 | RunTarget::Component(_) => panic!("expected a core wasm module, not a component"), |
| 33 | } |
| 34 | } |
| 35 | |
| 36 | #[cfg(feature = "component-model")] |
| 37 | pub fn unwrap_component(&self) -> &Component { |
no outgoing calls
no test coverage detected