skip to content
==> tests/constants.c <==
1/* Every constant of @ajax/mesh-abi-host-jobs 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/host_jobs.h"
4#include "mesh/check.h"
5
6#include <stdint.h>
7#include <string.h>
8
9int main(void) {
10    CHECK_U(MESH_S_JOBS, UINT64_C(5952));
11    CHECK_U(MESH_S_JOBS_ACTIVE, UINT64_C(5952));
12    CHECK_U(MESH_S_JOBS_TOTAL, UINT64_C(5956));
13    CHECK_U(MESH_S_JOB_DONE, UINT64_C(5960));
14    CHECK_U(MESH_S_JOB_FAILED, UINT64_C(5968));
15    CHECK_U(MESH_S_JOB_LEASED, UINT64_C(5976));
16    CHECK_U(MESH_S_JOB_RATE, UINT64_C(5980));
17    CHECK_U(MESH_S_JOB_DUPES, UINT64_C(5984));
18    CHECK_U(MESH_S_JOB_COMMIT, UINT64_C(5992));
19    CHECK_U(MESH_S_JOB_TERM, UINT64_C(6000));
20    CHECK_U(MESH_S_JOB_FLAGS, UINT64_C(6008));
21    CHECK_U(MESH_S_JOB_HELD, UINT64_C(6012));
22    CHECK_U(MESH_S_JOBS_END, UINT64_C(6016));
23    CHECK_U(MESH_JF_LEADER, UINT64_C(1));
24    CHECK_U(MESH_JF_ACTIVE, UINT64_C(2));
25    CHECK_U(MESH_JF_PERSIST, UINT64_C(4));
26    return mesh_check_done();
27}