tree-sitter/.github
Antonin Décimo f0571b1e33
feat: Windows support using MinGW-w64 (#4201)
Building tree-sitter on Windows within a Cygwin or MSYS2 environment
for MinGW-w64 targets should work. As there's no configure-like step,
the tools have to be specified with:

    make CC=x86_64-w64-mingw32-gcc \
         AR=x86_64-w64-mingw32-ar \
         STRIP=x86_64-w64-mingw32-strip

Useful reference:
[How to build and use DLLs on Windows](https://nullprogram.com/blog/2021/05/31/)

This commit doesn't tag public functions with dllexport or
dllimport. This results in exporting non-static functions visible
between translation units, and generating slightly less efficient code
for calling exported functions from the DLL.

This commit doesn't include support to build libtree-sitter with MSVC or
clang-cl, but generates a libtree-sitter.lib file for MSVC/clang-cl
consumers.
2025-02-12 16:31:06 -08:00
..
actions/cache ci: regenerate fixtures upon changes to parser.h, alloc.h, array.h 2025-01-05 00:14:09 -05:00
ISSUE_TEMPLATE docs: code-format repro commands in bug report template 2024-10-30 17:10:55 -04:00
scripts ci: major overhaul 2024-10-11 18:33:07 -04:00
workflows feat: Windows support using MinGW-w64 (#4201) 2025-02-12 16:31:06 -08:00
cliff.toml build(cliff): rename commit.github to commit.remote 2025-01-12 18:41:25 -05:00
dependabot.yml ci(dependabot): improve PR labels 2024-04-12 16:01:47 -04:00
FUNDING.yml chore: update FUNDING.yml 2025-01-25 00:27:40 -05:00