==> tests/constants.c <==1/* Every constant of @ajax/mesh-abi-fault equals the Rust's (values printed by the Rust itself), and the
2 * Rust const asserts that need a function call hold. Generated from alpha-rust-mesh. */
3#include "mesh/abi/fault.h"
4#include "mesh/check.h"
5
6#include <stdint.h>
7#include <string.h>
8
9int main(void) {
10 CHECK_U(MESH_FAULT_VIEW_BOUNDS, UINT64_C(1));
11 CHECK_U(MESH_FAULT_PEER_VIEW, UINT64_C(2));
12 CHECK_U(MESH_FAULT_RESP_BOUNDS, UINT64_C(3));
13 CHECK_U(MESH_FAULT_GPU, UINT64_C(4));
14 CHECK_U(MESH_FAULT_TRAP, UINT64_C(5));
15 CHECK_U(MESH_FAULT_TIME, UINT64_C(6));
16 CHECK_U(MESH_FAULT_PIPE, UINT64_C(7));
17 CHECK_U(MESH_FAULT_SHARED_BOUNDS, UINT64_C(8));
18 return mesh_check_done();
19}