aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/libghostty-vt/nix/test-src/test_libghostty_vt.c
blob: dc2586299d493c3a97360d5622e08ddf27c00a5e (plain) (blame)
1
2
3
4
5
6
7
8
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;
}