| /wasmtime-44.0.1/crates/c-api/include/wasmtime/ |
| H A D | config.hh | 256 void debug_info(bool enable) { in debug_info() argument 272 void consume_fuel(bool enable) { in consume_fuel() argument 287 void wasm_threads(bool enable) { in wasm_threads() argument 295 void shared_memory(bool enable) { in shared_memory() argument 302 void wasm_tail_call(bool enable) { in wasm_tail_call() argument 317 void wasm_simd(bool enable) { in wasm_simd() argument 360 void wasm_memory64(bool enable) { in wasm_memory64() argument 368 void wasm_gc(bool enable) { wasmtime_config_wasm_gc_set(ptr.get(), enable); } in wasm_gc() argument 390 void wasm_exceptions(bool enable) { in wasm_exceptions() argument 510 void memory_may_move(bool enable) { in memory_may_move() argument [all …]
|
| /wasmtime-44.0.1/cranelift/native/src/ |
| H A D | lib.rs | 56 isa_builder.enable("has_sse3").unwrap(); in infer_native_flags() 59 isa_builder.enable("has_ssse3").unwrap(); in infer_native_flags() 62 isa_builder.enable("has_sse41").unwrap(); in infer_native_flags() 65 isa_builder.enable("has_sse42").unwrap(); in infer_native_flags() 71 isa_builder.enable("has_avx").unwrap(); in infer_native_flags() 74 isa_builder.enable("has_avx2").unwrap(); in infer_native_flags() 77 isa_builder.enable("has_fma").unwrap(); in infer_native_flags() 80 isa_builder.enable("has_bmi1").unwrap(); in infer_native_flags() 83 isa_builder.enable("has_bmi2").unwrap(); in infer_native_flags() 108 isa_builder.enable("has_lse").unwrap(); in infer_native_flags() [all …]
|
| H A D | riscv.rs | 16 isa_builder.enable("has_a").unwrap(); in hwcap_detect() 20 isa_builder.enable("has_c").unwrap(); in hwcap_detect() 24 isa_builder.enable("has_d").unwrap(); in hwcap_detect() 28 isa_builder.enable("has_f").unwrap(); in hwcap_detect() 33 isa_builder.enable("has_zicsr").unwrap(); in hwcap_detect() 37 isa_builder.enable("has_m").unwrap(); in hwcap_detect() 41 isa_builder.enable("has_v").unwrap(); in hwcap_detect() 80 let _ = isa_builder.enable(&format!("has_{ext}")); in cpuinfo_detect()
|
| /wasmtime-44.0.1/crates/wasmtime/src/ |
| H A D | config.rs | 356 match (enable, &self.compiler_config) { in enable_compiler() 465 self.tunables.debug_guest = Some(enable); in guest_debug() 583 self.native_unwind_info = Some(enable); in native_unwind_info() 833 self.async_stack_zeroing = enable; in async_stack_zeroing() 2092 self.force_memory_init_memfd = enable; in force_memory_init_memfd() 2102 self.coredump_on_trap = enable; in coredump_on_trap() 2115 self.wmemcheck = enable; in wmemcheck() 2746 compiler.enable(flag)?; in build_compiler() 2982 self.x86_float_abi_ok = Some(enable); in x86_float_abi_ok() 3003 self.shared_memory = enable; in shared_memory() [all …]
|
| /wasmtime-44.0.1/crates/c-api/src/ |
| H A D | config.rs | 58 c.config.debug_info(enable); in wasmtime_config_debug_info_set() 63 c.config.consume_fuel(enable); in wasmtime_config_consume_fuel_set() 79 c.config.wasm_threads(enable); in wasmtime_config_wasm_threads_set() 84 c.config.shared_memory(enable); in wasmtime_config_shared_memory_set() 100 enable: bool, in wasmtime_config_wasm_function_references_set() 107 c.config.wasm_gc(enable); in wasmtime_config_wasm_gc_set() 112 c.config.gc_support(enable); in wasmtime_config_gc_support_set() 117 c.config.wasm_simd(enable); in wasmtime_config_wasm_simd_set() 128 enable: bool, in wasmtime_config_wasm_relaxed_simd_deterministic_set() 181 enable: bool, in wasmtime_config_cranelift_debug_verifier_set() [all …]
|
| /wasmtime-44.0.1/crates/cli-flags/src/ |
| H A D | lib.rs | 786 enable => config.cranelift_debug_verifier(enable), in config() 790 config.debug_info(enable); in config() 794 enable => config.guest_debug(enable), in config() 815 enable => config.cranelift_nan_canonicalization(enable), in config() 856 enable => config.parallel_compilation(enable), in config() 944 enable => { in config() 945 if enable { in config() 1014 enable => cfg.memory_protection_keys(enable), in config() 1050 enable => config.async_stack_zeroing(enable), in config() 1072 enable => config.wmemcheck(enable), in config() [all …]
|
| /wasmtime-44.0.1/crates/wasi/src/ |
| H A D | ctx.rs | 162 pub fn allow_blocking_current_thread(&mut self, enable: bool) -> &mut Self { in allow_blocking_current_thread() 163 self.filesystem.allow_blocking_current_thread = enable; in allow_blocking_current_thread() 411 pub fn allow_ip_name_lookup(&mut self, enable: bool) -> &mut Self { in allow_ip_name_lookup() 412 self.sockets.allowed_network_uses.ip_name_lookup = enable; in allow_ip_name_lookup() 420 pub fn allow_udp(&mut self, enable: bool) -> &mut Self { in allow_udp() 421 self.sockets.allowed_network_uses.udp = enable; in allow_udp() 429 pub fn allow_tcp(&mut self, enable: bool) -> &mut Self { in allow_tcp() 430 self.sockets.allowed_network_uses.tcp = enable; in allow_tcp()
|
| /wasmtime-44.0.1/cranelift/codegen/src/isa/x64/inst/ |
| H A D | emit_tests.rs | 349 flag_builder.enable("is_pic").unwrap(); in test_x64_emit() 354 isa_flag_builder.enable("has_cmpxchg16b").unwrap(); in test_x64_emit() 355 isa_flag_builder.enable("has_ssse3").unwrap(); in test_x64_emit() 356 isa_flag_builder.enable("has_sse41").unwrap(); in test_x64_emit() 357 isa_flag_builder.enable("has_fma").unwrap(); in test_x64_emit() 358 isa_flag_builder.enable("has_avx").unwrap(); in test_x64_emit() 359 isa_flag_builder.enable("has_avx512bitalg").unwrap(); in test_x64_emit() 360 isa_flag_builder.enable("has_avx512dq").unwrap(); in test_x64_emit() 361 isa_flag_builder.enable("has_avx512f").unwrap(); in test_x64_emit() 362 isa_flag_builder.enable("has_avx512vbmi").unwrap(); in test_x64_emit() [all …]
|
| /wasmtime-44.0.1/cranelift/fuzzgen/src/ |
| H A D | lib.rs | 218 builder.enable("enable_probestack").unwrap(); in generate_flags() 243 builder.enable("enable_llvm_abi_extensions").unwrap(); in generate_flags() 247 builder.enable("enable_multi_ret_implicit_sret").unwrap(); in generate_flags() 250 builder.enable("enable_verifier").unwrap(); in generate_flags() 254 builder.enable("machine_code_cfg_info").unwrap(); in generate_flags() 258 builder.enable("enable_nan_canonicalization").unwrap(); in generate_flags() 278 max_builder.enable(flag.name)?; in set_isa_flags()
|
| /wasmtime-44.0.1/cranelift/codegen/ |
| H A D | Cargo.toml | 71 # The "core" feature used to enable a hashmap workaround, but is now 110 # Option to enable all architectures. 113 # Option to enable all architectures that correspond to an actual native target 118 enable-serde = [ 121 "cranelift-entity/enable-serde", 122 "cranelift-bitset/enable-serde", 123 "regalloc2/enable-serde", 128 incremental-cache = ["enable-serde", "postcard", "sha2"]
|
| /wasmtime-44.0.1/crates/cranelift/src/ |
| H A D | builder.rs | 109 fn enable(&mut self, name: &str) -> Result<()> { in enable() method 110 self.inner.enable(name) in enable() 150 fn wmemcheck(&mut self, enable: bool) { in wmemcheck() 151 self.wmemcheck = enable; in wmemcheck()
|
| H A D | isa_builder.rs | 83 pub fn enable(&mut self, name: &str) -> Result<()> { in enable() method 84 if let Err(err) = self.shared_flags.enable(name) { in enable() 88 self.inner.enable(name)?; in enable()
|
| /wasmtime-44.0.1/crates/c-api/src/component/ |
| H A D | component.rs | 9 pub extern "C" fn wasmtime_config_wasm_component_model_set(c: &mut wasm_config_t, enable: bool) { in wasmtime_config_wasm_component_model_set() 10 c.config.wasm_component_model(enable); in wasmtime_config_wasm_component_model_set() 16 enable: bool, in wasmtime_config_wasm_component_model_map_set() 18 c.config.wasm_component_model_map(enable); in wasmtime_config_wasm_component_model_map_set()
|
| /wasmtime-44.0.1/crates/c-api/include/wasmtime/types/ |
| H A D | memory.hh | 173 Builder &memory64(bool enable) { in memory64() argument 174 _memory64 = enable; in memory64() 179 Builder &shared(bool enable) { in shared() argument 180 _shared = enable; in shared()
|
| /wasmtime-44.0.1/src/ |
| H A D | common.rs | 151 if let Some(enable) = self.common.wasm.trap_on_grow_failure { in store_limits() 152 limits = limits.trap_on_grow_failure(enable); in store_limits() 346 if let Some(enable) = self.common.wasi.allow_ip_name_lookup { in configure_wasip2() 347 builder.allow_ip_name_lookup(enable); in configure_wasip2() 349 if let Some(enable) = self.common.wasi.tcp { in configure_wasip2() 350 builder.allow_tcp(enable); in configure_wasip2() 352 if let Some(enable) = self.common.wasi.udp { in configure_wasip2() 353 builder.allow_udp(enable); in configure_wasip2()
|
| /wasmtime-44.0.1/crates/winch/src/ |
| H A D | builder.rs | 43 fn enable(&mut self, name: &str) -> Result<()> { in enable() method 44 self.inner.enable(name)?; in enable() 45 self.cranelift.enable(name)?; in enable()
|
| /wasmtime-44.0.1/crates/fuzzing/src/generators/ |
| H A D | codegen_settings.rs | 77 let enable = u.ratio(low, hi)?; in arbitrary() localVariable 85 if enable && !std::arch::$test!($std) { in arbitrary() 97 enable.to_string(), in arbitrary()
|
| /wasmtime-44.0.1/cranelift/entity/ |
| H A D | Cargo.toml | 25 enable-serde = ["serde", "serde_derive", "cranelift-bitset/enable-serde"]
|
| /wasmtime-44.0.1/cranelift/module/ |
| H A D | Cargo.toml | 31 enable-serde = ["serde", "serde_derive", "cranelift-codegen/enable-serde"]
|
| /wasmtime-44.0.1/crates/test-programs/src/bin/ |
| H A D | async_backpressure_caller.rs | 41 async fn test(enable: impl Fn(), disable: impl Fn()) { in test() 42 enable(); in test()
|
| /wasmtime-44.0.1/crates/wiggle/test-helpers/ |
| H A D | Cargo.toml | 27 # Explicitly enable default features so that tests pass even testing only this 29 # to enable the runtime and compiler.
|
| /wasmtime-44.0.1/crates/wiggle/ |
| H A D | Cargo.toml | 30 # Explicitly enable default features so that tests pass even testing only this 32 # to enable the runtime and compiler.
|
| /wasmtime-44.0.1/docs/ |
| H A D | examples-profiling-samply.md | 11 Wasmtime itself, so you will need to manually change a few things to enable profiling support in 15 `ProfilingStrategy::PerfMap` to enable profiling of your wasm modules.
|
| H A D | examples-profiling-perf.md | 19 Wasmtime itself, so you will need to manually change a few things to enable profiling support in 23 `ProfilingStrategy::PerfMap` to enable profiling of your wasm modules. 64 change a few things to enable profiling support in your application. First 70 `ProfilingStrategy::JitDump` to enable profiling of your wasm modules. 124 also enable dwarf debug information to be generated for JIT code which should
|
| /wasmtime-44.0.1/cranelift/codegen/src/ |
| H A D | settings.rs | 43 fn enable(&mut self, name: &str) -> SetResult<()>; in enable() method 242 fn enable(&mut self, name: &str) -> SetResult<()> { in enable() method 531 assert_eq!(b.enable("not_there"), Err(BadName("not_there".to_string()))); in modify_bool() 532 assert_eq!(b.enable("enable_verifier"), Ok(())); in modify_bool()
|