1
0
Fork 0
mirror of https://github.com/zigzap/zap.git synced 2025-10-20 15:14:08 +00:00

Compare commits

...

4 commits

Author SHA1 Message Date
renerocksai
76679f308c
switch back to linking facil.io statically!!!!! 2025-08-29 16:06:35 +02:00
GitHub Action
22586ca0e1 Update README 2025-08-28 21:39:52 +00:00
renerocksai
66c5dc42c7
update README to zig 0.15.1 2025-08-28 23:07:01 +02:00
renerocksai
f7004c683c
fix github workflow name 2025-08-28 23:03:18 +02:00
3 changed files with 7 additions and 6 deletions

View file

@ -1,4 +1,4 @@
name: Works with Zig 0.14.0 name: Works with Zig 0.15.1
on: on:
push: push:
branches: branches:

View file

@ -25,7 +25,7 @@ proved to be:
## FAQ: ## FAQ:
- Q: **What version of Zig does Zap support?** - Q: **What version of Zig does Zap support?**
- Zap uses the latest stable zig release (0.14.1), so you don't have to keep - Zap uses the latest stable zig release (0.15.1), so you don't have to keep
up with frequent breaking changes. It's an "LTS feature". up with frequent breaking changes. It's an "LTS feature".
- Q: **Can Zap build with Zig's master branch?** - Q: **Can Zap build with Zig's master branch?**
- See the `zig-master` branch. Please note that the zig-master branch is not - See the `zig-master` branch. Please note that the zig-master branch is not
@ -266,7 +266,7 @@ code leaks memory.
## Getting started ## Getting started
Make sure you have **zig 0.14.1** installed. Fetch it from Make sure you have **zig 0.15.1** installed. Fetch it from
[here](https://ziglang.org/download). [here](https://ziglang.org/download).
```shell ```shell
@ -279,7 +279,7 @@ $ # open http://localhost:3000 in your browser
## Using ⚡zap⚡ in your own projects ## Using ⚡zap⚡ in your own projects
Make sure you have **the latest zig release (0.14.1)** installed. Fetch it from Make sure you have **the latest zig release (0.15.1)** installed. Fetch it from
[here](https://ziglang.org/download). [here](https://ziglang.org/download).
If you don't have an existing zig project, create one like this: If you don't have an existing zig project, create one like this:
@ -298,7 +298,7 @@ In your zig project folder (where `build.zig` is located), run:
<!-- INSERT_DEP_BEGIN --> <!-- INSERT_DEP_BEGIN -->
``` ```
zig fetch --save "git+https://github.com/zigzap/zap#v0.10.6" zig fetch --save "git+https://github.com/zigzap/zap#v0.11.0"
``` ```
<!-- INSERT_DEP_END --> <!-- INSERT_DEP_END -->
@ -414,3 +414,4 @@ pub fn main() !void {

View file

@ -16,7 +16,7 @@ pub fn build_facilio(
const lib = b.addLibrary(.{ const lib = b.addLibrary(.{
.name = "facil.io", .name = "facil.io",
.root_module = mod, .root_module = mod,
.linkage = .dynamic, .linkage = .static,
}); });
// Generate flags // Generate flags