forked from M-Labs/nac3
lyken
f9dc6bf40c
`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
327 B
C++
12 lines
327 B
C++
// This file will be compiled like a real C++ program,
|
|
// and we do have the luxury to use the standard libraries.
|
|
// That is if the nix flakes do not have issues... especially on msys2...
|
|
#include <cstdint>
|
|
#include <cstdio>
|
|
#include <cstdlib>
|
|
#include <test/test_core.hpp>
|
|
|
|
int main() {
|
|
test::core::run();
|
|
return 0;
|
|
} |