ObserverOfTime
cd503e803d
build(zig): support wasmtime for ARM64 Windows (MSVC)
...
(cherry picked from commit e0edfe1cb3 )
2025-08-28 20:27:11 -04:00
ObserverOfTime
1083795af6
style(zig): reformat files
...
(cherry picked from commit 66ea1a6dda )
2025-08-28 22:32:43 +03:00
ObserverOfTime
dc0b5530b3
build(zig): use ArrayListUnmanaged
...
This is supported in 0.14 and 0.15
(cherry picked from commit 298b6775c6 )
2025-08-28 22:32:43 +03:00
ObserverOfTime
910b3c738c
build(zig): don't link wasmtime in static build
...
(cherry picked from commit 2e4b7d26b1 )
2025-08-28 22:32:43 +03:00
ObserverOfTime
f764f485d2
build(zig): expose wasmtimeDep function
...
This allows consumers to reuse the dependency.
(cherry picked from commit dab84a1b10 )
2025-08-28 22:32:43 +03:00
Ronald T. Casili
ad95b2b906
fix(build.zig): remove deprecated addStaticLibrary()
...
(cherry picked from commit 618b9dd66e )
2025-07-16 11:40:36 +02:00
aleloi
00d34e86a3
build(zig): use build root instead of cwd ( #3944 )
...
`std.fs.cwd` refers to the cwd of the build process, which is not the
root of tree-sitter when tree-sitter is used as a sub-module.
Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
2024-11-15 12:47:01 +02:00
ObserverOfTime
9d2196cdbd
build(zig): add optional wasmtime dependency
...
And support compiling a shared library
2024-10-08 21:09:53 -04:00
Amaan Qureshi
8943983df6
feat!: properly handle UTF-16 endianness encoding
2024-10-05 21:12:48 -04:00
bfredl
4a8be390f0
feat(zig): update outdated path syntax
...
Both options are allowed in zig 0.12, but only b.path() in later
versions.
2024-05-23 15:44:52 -04:00
bfredl
32cfceec62
fix(zig): make usable as a zig dependency
...
Make this usable as a dependency of a zig 0.12 project:
- build.zig.zon must exist to be used as a zig dependency
- public headers need to be installed as part of the artifact
2024-04-26 14:17:31 +02:00
ObserverOfTime
799833f9cf
build: use c11 everywhere
...
And improve the makefiles
2024-02-27 15:54:38 -05:00
Shem Sedrick
13c79db3aa
Updated build.zig to work with 0.11.0
2023-08-25 19:18:46 +03:00
Auguste Rame
834ae233cb
Add build.zig for easy use as a Zig library
2023-07-16 16:39:55 +03:00