(&self)
| 184 | |
| 185 | #[cfg(feature = "component-model")] |
| 186 | fn ensure_allow_components(&self) -> Result<()> { |
| 187 | if self.common.wasm.component_model == Some(false) { |
| 188 | bail!("cannot execute a component without `--wasm component-model`"); |
| 189 | } |
| 190 | |
| 191 | Ok(()) |
| 192 | } |
| 193 | |
| 194 | pub fn load_module( |
| 195 | &self, |
no test coverage detected