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

Method check_compatible

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

Source from the content-addressed store, hash-verified

202 }
203
204 fn check_compatible(mut self, engine: &Engine) -> Result<()> {
205 self.check_triple(engine)?;
206 self.check_shared_flags(engine)?;
207 self.check_isa_flags(engine)?;
208 self.check_tunables(&engine.tunables())?;
209 self.check_features(&engine.features())?;
210 Ok(())
211 }
212
213 fn check_triple(&self, engine: &Engine) -> Result<()> {
214 let engine_target = engine.target();

Callers 8

check_compatibleFunction · 0.80
test_os_mismatchFunction · 0.80
test_isa_flags_mismatchFunction · 0.80
test_feature_mismatchFunction · 0.80

Calls 8

OkFunction · 0.85
check_tripleMethod · 0.80
check_shared_flagsMethod · 0.80
check_isa_flagsMethod · 0.80
check_tunablesMethod · 0.80
check_featuresMethod · 0.80
tunablesMethod · 0.45
featuresMethod · 0.45

Tested by 7

test_os_mismatchFunction · 0.64
test_isa_flags_mismatchFunction · 0.64
test_feature_mismatchFunction · 0.64