MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / check_shared_flags

Method check_shared_flags

crates/wasmtime/src/engine/serialization.rs:235–243  ·  view source on GitHub ↗
(&mut self, engine: &Engine)

Source from the content-addressed store, hash-verified

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() {

Callers 1

check_compatibleMethod · 0.80

Calls 5

msgFunction · 0.85
OkFunction · 0.85
iterMethod · 0.45
contextMethod · 0.45

Tested by

no test coverage detected