[][src]Module lucet_runtime_tests::helpers

Structs

FunctionPointer

FunctionPointer serves entirely as a safer way to work with function pointers than as raw u64 or usize values. It also avoids the need to write them as fn types, which cannot be freely cast from one to another with as. If you need to call a FunctionPointer, use as_usize() and transmute the resulting usize to a fn type with appropriate signature.

HeapSpec

Specifications about the heap of a Lucet module.

MockExportBuilder
MockModuleBuilder

Functions

test_ex

Run a test exclusively, so that no other test_nonex or test_ex tests will run concurrently.

test_nonex

Run a test non-exclusively with other test_nonex tests.