Skip to content

Commit

Permalink
check for bitcast
Browse files Browse the repository at this point in the history
  • Loading branch information
rzblue committed Jun 14, 2024
1 parent d3aa7f8 commit 32b4fbf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions hal/src/main/native/cpp/Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,7 @@ void HAL_ExitMain(void) {
}

} // extern "C"
#include <bit>
#ifdef __cpp_lib_bit_cast
#error "BITCAST IS GOOD LOL"abort

Check failure on line 68 in hal/src/main/native/cpp/Main.cpp

View workflow job for this annotation

GitHub Actions / Build - Windows

#error: "BITCAST IS GOOD LOL"abort
#endif

0 comments on commit 32b4fbf

Please sign in to comment.