-
Currently we have this problem with `union(enum)`:
https://github.com/ziglang/zig/blob/aff7b38838628a18f384c1f625d71c085c8eee1f/std/zig/ast.zig#L110-L130
Now, if you use `Error.InvalidToken` are…
-
### Zig Version
0.13.0
### Steps to Reproduce and Observed Behavior
I have the following `hello.c`:
```c
#define WASM_EXPORT(name) __attribute__((export_name(#name))) name
int foo(void);
in…
-
### 问题描述
ChinaDNS-ng (2024.09.08 x86_64) 不定期出现问题,表现为:
- 设备无法打开网站(直连 IP 似乎不受影响)
- 查看系统日志,有输出
`kern.info kernel: [527898.271762] chinadns-ng[4417]: segfault at xxxxxxxx ip xxxxxxx sp xxxxxx erro…
-
Haven't found other issues for this, but as of today, the only way to substitute flags/bitmask in zig are packed structs. They do work but often introduce some impracticallities, such as:
- bit opera…
-
Right now, the `--libc [file]` command line argument isn't really well exposed in `std.Build.Step.Compile`:
https://github.com/ziglang/zig/blob/455899668b620dfda40252501c748c0a983555bd/lib/std/Buil…
-
Add tests that call `clang -emit-llvm -c somefile.c` to produce a .bc bitcode file, then parse that file with this library. This test can be orchestrated by build.zig.
It would be cool to do some f…
-
Since we are nearing #1778, there are going to be a lot of clients that need to be written (e.g. http #2007), and since I suspect more and more people are coming to Zig from higher-level languages, li…
-
### Zig Version
0.11.0-dev.2661+d2a799c65
### Steps to Reproduce and Observed Behavior
You can see it explicitly disabled here:
https://github.com/ziglang/zig/blob/a774f9334473822fd7c6c828dd3fb8…
-
### How can we reproduce the crash?
Bun crashes when using this code:
```
import chalk from 'chalk';
class Timing {
private start: number;
private date: number;
private nick: s…
-