Skip to main content

Module test_abi

Module test_abi 

Source
Expand description

FN_ID constants shared between the test/bench guest binaries and host-side test/bench drivers. Always compiled — host-visible. FN_ID constants for the test/bench guest binaries.

These are not part of the production RPC surface — they live in nub-arch-x86 (not nub-arch-x86-abi) and are only exposed by the nub-arch-x86-tests and nub-arch-x86-benches binaries. Host-side test/bench code (in nub/tests/, nub/benches/, etc.) imports these constants via the lib.

Constants§

FN_ID_BENCH_ARC_PAGE_ALLOC
Bench: allocate N × Arc<Page> where Page is a 4 KiB page-aligned block.
FN_ID_TEST_INVOKE_TWO_SERIAL
Test-only scheduler probe. Payload is two raw InvokePackets concatenated; output is rkyv-encoded [InvocationResult; 2].
FN_ID_TEST_SMOKE
Smoke probe — returns 42u64 rkyv-encoded.