diff options
Diffstat (limited to 'vendor/libghostty-vt/nix/test-src')
| -rw-r--r-- | vendor/libghostty-vt/nix/test-src/test_libghostty_vt.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/vendor/libghostty-vt/nix/test-src/test_libghostty_vt.c b/vendor/libghostty-vt/nix/test-src/test_libghostty_vt.c new file mode 100644 index 00000000..dc258629 --- /dev/null +++ b/vendor/libghostty-vt/nix/test-src/test_libghostty_vt.c @@ -0,0 +1,9 @@ +#include <ghostty/vt.h> +#include <stdio.h> +int main(void) { + bool simd = false; + GhosttyResult r = ghostty_build_info(GHOSTTY_BUILD_INFO_SIMD, &simd); + if (r != GHOSTTY_SUCCESS) return 1; + printf("SIMD: %s\n", simd ? "yes" : "no"); + return 0; +} |
