-
### Zig Version
0.10.0-dev.1246+e67c756b91
### Steps to Reproduce and Observed Behavior
```zig
const std = @import("std");
const expect = std.testing.expect;
fn clobberStack() void { var…
-
## Motivation
Files are implicitly structs, which lets you do things like:
```zig
//! Allocator.zig
ptr: *anyopaque,
vtable: *const VTable,
pub const VTable = ...
```
```zig
//! main.zi…
-
- [ ] need regression test for cross compilation
refs: https://github.com/nim-lang/Nim/pull/13907#issuecomment-612028458
-
### Zig Version
0.14.0
### The Enhancement
In Zig, I would assume it can initialize multiple variables at once with the following syntax:
```zig
var i, j, k: u32 = 0;
```
I think it is an…
-
```zig
const std = @import("std");
const Options = struct { tmp: std.fs.Dir };
pub fn main() anyerror!void {
const o = std.process.args().nextPosix() orelse return error.NotEnoughArgs;
co…
-
## Status quo
Status quo of trailing whitespace:
* Non-ASCII Unicode trailing whitespace outside of a comment or multiline string is an error:
```zig
test {}
```
```
x.zig:1:9: error:…
-
### Zig Version
0.14.0-dev.850+ddcb7b1c1
### Steps to Reproduce and Observed Behavior
```shellsession
> zig test missing.zig
thread 14436 panic: reached unreachable code
C:\Users\Ryan\Programmin…
-
In Hello World section hello.zig has `.{"world"}`. What is written there is:
> The two arguments passed to the stdout.print() function, `"Hello, {s}!\n"` and `.{"world"}`, are evaluated at [compile…
-
Hi,
I tried using yesterday's commit (bd561b3689bc4e703f46bf1908633abb09680b4b), thanks for adapting to latest zig build changes (btw, I think usage section should now say `raylib.addTo(b, exe, tar…
-
When running code in a live environment, it is incredibly handy to have the line number and filename where the log statement was made to quickly jump to that portion of the code.
The following is t…