-
研究了几天,确实可以实现通过zig的泛型/反射特性,直接用Model在编译时构造出View-Model:https://gitee.com/ufbycd/awtk-mvvm-zig-example
实现过程中遇到的问题:
* zig直接调用C时暂不支持包含位域的API,后续AWTK地否考虑去除几个重要的头文件内的位域以方便zig调用?主要为这几个头文件:`base/widget.h`、`t…
-
### How can we reproduce the crash?
_No response_
### Relevant log output
```shell
```
### Stack Trace (bun.report)
Bun v1.1.26 ([`0a37423`]()) on windows x86_64 [RunCommand]
**panic**: cast ca…
-
Not sure when this started, but I see a huge performance drop on the ALValidation
We run the validation against bc24.5 (latest container).
Validating an app which in vscode takes couple of seconds ta…
-
is a good place to search on ziggy problems.
## Explore types with `@TypeOf`
[building...]
### Vademecum
```zig
const std = @import("std");
const print = std.debug.print;
// my Strin…
-
## Challenge: Create a Mandelbrot set image with Zig
### Introduction
#### WFT is a Mandelbrot set? 🤯
#### Nice, but how? 😳
Of course, some explanations on how to translate this…
-
Similar to https://github.com/FalsePattern/ZigBrains/issues/41, when there are build dependencies, the 'Green Arrows' in the margins to run code/tests will fail, as they rely on the run configuration.…
-
Does anyone else see this build issue on Ubuntu?
```
$ zig build
...
...
+- install DOOM-fire
+- zig build-exe DOOM-fire Debug native 1 errors
/home/hulk/opt/zig-linux-x86_64-0.13.0/lib/st…
-
See this Zig pull request: https://github.com/ziglang/zig/pull/18498 (specifically, [this hunk](https://github.com/ziglang/zig/pull/18498/files#diff-88edb24013ad7e5428ff29aac0ebba01f919136cfcfe17d806b…
-
Hey, I was trying to build this using the provided makefile and ran into the following build error:
```
$ make
cd editor && zig build
/snap/zig/11625/lib/std/heap.zig:38:13: error: C allocator is …
-
It seems it won't compile against RGFW, even after changing zig.build it will still compile against GLFW
my partial zig.build
```
const raylib_dep = b.dependency("raylib-zig", .{
.targ…