Home
last modified time | relevance | path

Searched refs:WasmFeatures (Results 1 – 13 of 13) sorted by relevance

/wasmtime-44.0.1/crates/wasmtime/src/
H A Dconfig.rs9 pub use wasmparser::WasmFeatures;
2212 | WasmFeatures::SIMD in compiler_panicking_wasm_features()
2214 | WasmFeatures::THREADS in compiler_panicking_wasm_features()
2217 | WasmFeatures::FLOATS in compiler_panicking_wasm_features()
2220 | WasmFeatures::MEMORY64 in compiler_panicking_wasm_features()
2224 | WasmFeatures::GC in compiler_panicking_wasm_features()
2226 | WasmFeatures::GC_TYPES in compiler_panicking_wasm_features()
2234 | WasmFeatures::CM_GC in compiler_panicking_wasm_features()
2235 | WasmFeatures::CM_MAP in compiler_panicking_wasm_features()
2611 features: WasmFeatures, in build_compiler() argument
[all …]
H A Dengine.rs18 use wasmparser::WasmFeatures;
52 features: WasmFeatures,
178 pub(crate) fn features(&self) -> WasmFeatures { in features() argument
468 if self.features().contains(WasmFeatures::STACK_SWITCHING) { in check_compatible_with_shared_flag()
/wasmtime-44.0.1/crates/environ/examples/
H A Dfactc.rs4 use wasmparser::{Validator, WasmFeatures};
61 wasmparser::Validator::new_with_features(wasmparser::WasmFeatures::all()); in execute()
96 Validator::new_with_features(WasmFeatures::default() | WasmFeatures::MEMORY64) in execute()
/wasmtime-44.0.1/crates/fuzzing/src/
H A Doracles.rs1353 | WasmFeatures::FLOATS in module_generation_uses_expected_proposals()
1356 | WasmFeatures::MULTI_VALUE in module_generation_uses_expected_proposals()
1357 | WasmFeatures::BULK_MEMORY in module_generation_uses_expected_proposals()
1359 | WasmFeatures::SIMD in module_generation_uses_expected_proposals()
1360 | WasmFeatures::MULTI_MEMORY in module_generation_uses_expected_proposals()
1361 | WasmFeatures::RELAXED_SIMD in module_generation_uses_expected_proposals()
1362 | WasmFeatures::TAIL_CALL in module_generation_uses_expected_proposals()
1364 | WasmFeatures::MEMORY64 in module_generation_uses_expected_proposals()
1366 | WasmFeatures::GC in module_generation_uses_expected_proposals()
1367 | WasmFeatures::GC_TYPES in module_generation_uses_expected_proposals()
[all …]
/wasmtime-44.0.1/crates/fuzzing/src/generators/gc_ops/
H A Dtests.rs76 let mut features = wasmparser::WasmFeatures::default(); in mutate_gc_ops_with_default_mutator()
77 features.insert(wasmparser::WasmFeatures::REFERENCE_TYPES); in mutate_gc_ops_with_default_mutator()
78 features.insert(wasmparser::WasmFeatures::FUNCTION_REFERENCES); in mutate_gc_ops_with_default_mutator()
79 features.insert(wasmparser::WasmFeatures::GC_TYPES); in mutate_gc_ops_with_default_mutator()
80 features.insert(wasmparser::WasmFeatures::GC); in mutate_gc_ops_with_default_mutator()
206 let feats = wasmparser::WasmFeatures::default(); in emits_rec_groups_and_validates()
291 let feats = wasmparser::WasmFeatures::default(); in fixup_check_types_and_indexes()
/wasmtime-44.0.1/crates/fuzzing/src/generators/
H A Dexception_ops.rs606 use wasmparser::WasmFeatures;
615 let features = WasmFeatures::EXCEPTIONS in always_produces_valid_wasm()
616 | WasmFeatures::GC_TYPES in always_produces_valid_wasm()
617 | WasmFeatures::REFERENCE_TYPES in always_produces_valid_wasm()
618 | WasmFeatures::MULTI_VALUE in always_produces_valid_wasm()
619 | WasmFeatures::FLOATS in always_produces_valid_wasm()
620 | WasmFeatures::SIMD; in always_produces_valid_wasm()
/wasmtime-44.0.1/crates/environ/fuzz/fuzz_targets/
H A Dfact-valid-module.rs60 let mut validator = wasmparser::Validator::new_with_features(wasmparser::WasmFeatures::all()); in target()
/wasmtime-44.0.1/crates/wasmtime/src/engine/
H A Dserialization.rs410 fn check_features(&mut self, other: &wasmparser::WasmFeatures) -> Result<()> { in check_features()
411 let module_features = wasmparser::WasmFeatures::from_bits_truncate(self.features); in check_features()
645 metadata.features &= !wasmparser::WasmFeatures::THREADS.bits(); in test_feature_mismatch()
656 metadata.features |= wasmparser::WasmFeatures::THREADS.bits(); in test_feature_mismatch()
/wasmtime-44.0.1/crates/wizer/tests/all/
H A Dtests.rs101 let mut features = wasmparser::WasmFeatures::WASM2; in fails_wizening()
102 features.set(wasmparser::WasmFeatures::MULTI_MEMORY, true); in fails_wizening()
/wasmtime-44.0.1/crates/wizer/src/
H A Dlib.rs262 wasmparser::Validator::new_with_features(wasmparser::WasmFeatures::all()) in wasm_validate()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/
H A Dinstance.rs17 use wasmparser::WasmFeatures;
354 .contains(WasmFeatures::BULK_MEMORY); in new_raw()
/wasmtime-44.0.1/crates/cranelift/src/
H A Dfunc_environ.rs26 use wasmparser::{FuncValidator, Operator, WasmFeatures, WasmModuleResources};
1885 features: &WasmFeatures, in indirect_call() argument
1909 features: &WasmFeatures, in check_and_load_code_and_callee_vmctx() argument
1959 features: &WasmFeatures, in check_indirect_call_type_signature() argument
3086 features: &WasmFeatures, in translate_call_indirect() argument
3141 features: &WasmFeatures, in translate_return_call_indirect() argument
/wasmtime-44.0.1/crates/test-util/src/
H A Dcomponent_fuzz.rs1895 wasmparser::Validator::new_with_features(wasmparser::WasmFeatures::all()) in arbtest()