Skip to content

A lightweight WebAssembly runtime that is fast, secure, and standards-compliant

909 B
Raw Blame
mod arc;
mod bforest_map;
mod bforest_set;
mod bit_set;
mod boxed;
mod btree_map;
mod caller;
mod component_component;
mod component_func;
mod component_instance;
mod component_linker;
mod component_resource;
mod config;
mod engine;
mod entity_set;
mod error;
mod fiber_stack;
mod func;
mod func_type;
mod fuzz;
mod global;
mod hash_map;
mod hash_set;
mod index_map;
mod instance;
mod instance_pre;
mod linker;
mod memory;
mod module;
mod module_read;
mod primary_map;
mod secondary_map;
mod shared_memory;
mod smoke;
mod store;
mod string;
mod table;
mod tag;
mod types;
mod val;
mod vec;

use wasmtime_fuzzing::oom::OomTestAllocator;

#[global_allocator]
static GLOBAL_ALLOCATOR: OomTestAllocator = OomTestAllocator::new();

/// Entity key for testing fallible `PrimaryMap`s and such.
#[derive(Clone, Copy, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
struct Key(u32);
wasmtime_environ::entity_impl!(Key);