(&mut self, engine: &Engine)
| 243 | } |
| 244 | |
| 245 | fn check_isa_flags(&mut self, engine: &Engine) -> Result<()> { |
| 246 | for (name, val) in self.isa_flags.iter() { |
| 247 | engine |
| 248 | .check_compatible_with_isa_flag(name, val) |
| 249 | .map_err(|s| crate::Error::msg(s)) |
| 250 | .context("compilation settings of module incompatible with native host")?; |
| 251 | } |
| 252 | Ok(()) |
| 253 | } |
| 254 | |
| 255 | fn check_int<T: Eq + fmt::Display>(found: T, expected: T, feature: &str) -> Result<()> { |
| 256 | if found == expected { |
no test coverage detected