(&mut self, engine: &Engine)
| 233 | } |
| 234 | |
| 235 | fn check_shared_flags(&mut self, engine: &Engine) -> Result<()> { |
| 236 | for (name, val) in self.shared_flags.iter() { |
| 237 | engine |
| 238 | .check_compatible_with_shared_flag(name, val) |
| 239 | .map_err(|s| crate::Error::msg(s)) |
| 240 | .context("compilation settings of module incompatible with native host")?; |
| 241 | } |
| 242 | Ok(()) |
| 243 | } |
| 244 | |
| 245 | fn check_isa_flags(&mut self, engine: &Engine) -> Result<()> { |
| 246 | for (name, val) in self.isa_flags.iter() { |
no test coverage detected