lyken
c1369ea5bd
`cargo test -F test` would compile `nac3core/irrt/irrt_test.cpp` targetted to the host machine (it gets to use `std`) and run the test executable.
12 lines
360 B
C++
12 lines
360 B
C++
#pragma once
|
|
|
|
// This is made toggleable since `irrt_test.cpp` itself would include
|
|
// headers that define these typedefs
|
|
#ifdef IRRT_DEFINE_TYPEDEF_INTS
|
|
using int8_t = _BitInt(8);
|
|
using uint8_t = unsigned _BitInt(8);
|
|
using int32_t = _BitInt(32);
|
|
using uint32_t = unsigned _BitInt(32);
|
|
using int64_t = _BitInt(64);
|
|
using uint64_t = unsigned _BitInt(64);
|
|
#endif |