Module c_abi_testing

Source
Expand description

This module runs tests on the C abi as defined by Rust, to detect whether Rust changed how it deals with zero-sized types.

Structs§

CAbiTestingFns
Functions used to test that the C abi is the same in both the library and the loader.

Constants§

C_ABI_TESTING_FNS
Functions used to test that the C abi is the same in both the library and the loader.

Functions§

run_tests
Tests that the abi (as defined by the compiler) of the functions in CAbiTestingFns is the same as the caller’s.