Amaan Qureshi
95ab17e444
build: define _DARWIN_C_SOURCE
2025-09-22 19:50:43 +03:00
ObserverOfTime
e6fe91e2e7
build(zig): support wasmtime in more archs
2025-08-30 16:47:47 +03:00
ObserverOfTime
e0edfe1cb3
build(zig): support wasmtime for ARM64 Windows (MSVC)
2025-08-29 01:12:46 +03:00
ObserverOfTime
66ea1a6dda
style(zig): reformat files
2025-08-28 20:54:25 +03:00
ObserverOfTime
298b6775c6
build(zig): use ArrayListUnmanaged
...
This is supported in 0.14 and 0.15
2025-08-28 20:54:25 +03:00
ObserverOfTime
2e4b7d26b1
build(zig): don't link wasmtime in static build
2025-08-28 20:54:25 +03:00
ObserverOfTime
dab84a1b10
build(zig): expose wasmtimeDep function
...
This allows consumers to reuse the dependency.
2025-08-28 20:54:25 +03:00
bfredl
86b9f81ad6
build(zig)!: upgrade build.zig to zig 0.15
...
This no longer supports zig 0.14.
2025-08-21 11:44:02 +02:00
Ronald T. Casili
618b9dd66e
fix(build.zig): remove deprecated addStaticLibrary()
2025-07-16 11:08:07 +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