-
### Zig Version
0.13.0
### Steps to Reproduce and Observed Behavior
The code only contains a single simple output line:
const std = @import("std");
pub fn main() !void {
std.debug.print(…
-
### Zig Version
0.13.0
### Steps to Reproduce and Observed Behavior
Hello Zig team!
Thanks for continuing to maintain such a fantastic project.
I tried to build and run a simple `hello world`…
-
Currently, `grammar.y` is out of sync with the actual grammar implemented by the `zig` compiler (in `std/zig/tokenizer` and `std/zig/parser.zig`).
These are the places where `grammar.y` and `zig` d…
-
We had to disable autodoc generation because it segfaults the build after the Zig 2024.1.0-mach update #1135
```
(lldb) run
Process 94093 launched: '/Users/slimsag/zig/0.12.0-dev.2063+804cee3b9/f…
-
```
$ cargo build --bin roc
Compiling inkwell v0.2.0 (https://github.com/roc-lang/inkwell?branch=inkwell-llvm-16#d1a59639)
Compiling llvm-sys v160.1.3
Compiling roc_bitcode_bc v0.0.1 (/ho…
-
Eg. the https://github.com/YesIKnowIT/Blog/blob/master/2022/intro-to-zig/code/wc-v1.zig#L10 URL here:
https://github.com/YesIKnowIT/Blog/blame/2022-Intro-to-Zig/2022/intro-to-zig/article.adoc#L31
…
-
https://github.com/vezel-dev/libffi/blob/83a25935fc8ea5a5d1769d5b5a3522947d16f32c/build.zig#L307
Requires:
* https://github.com/ziglang/fetch-them-macos-headers/issues/28
-
```zig
// test.zig
export fn foo() void {
var x: bool = false;
const v = // : usize here fixes the problem
while (x) : ({}) { // for loop has the same problem
if (x) …
-
ABI mismatch is uncheckable undefined behavior, so it's important to get right. Currently, Zig lacks tooling to help identify such problems. In fact, when the canonical ABI definition lives in a C hea…
-
### Zig Version
0.14.0-dev.208+854e86c56
### Steps to Reproduce and Observed Behavior
I am not sure if this is a compiler bug or a documentation bug. The documentation for cmpxchgWeak and cmp…