-
I'm new to Zig, so it's probably something on my end, but I've encountered an error while building the project. Here's the error message:
```
root struct of file 'std' has no member named 'Build'
…
-
## Introduction
Currently, user-written Zig code (including the standard library) can only fail compilation with a descriptive message through `@compileError`. There are several cases in which it wou…
-
Extracted from #14523.
Given a foo.zon file:
```zig
.{
.bar = "hello",
}
```
it should be possible to `@import` it as a comptime-known value:
```zig
const data = @import("foo.zon"…
-
### Zig Version
0.11.0
### Steps to Reproduce and Observed Output
When you call `std.debug.print` with too few arguments:
```zig
std.debug.print("All your {s} are belong to us.\n", .{}); …
danvk updated
9 months ago
-
See: https://github.com/loongson/la-abi-specs/blob/release/lapcs.adoc
-
### Zig Version
0.11.0-dev.4191+1bf16b172
### Steps to Reproduce and Observed Behavior
I have a small zig file that tries to read a file line-by-line. This is the code
```zig
const std = @impor…
-
This function is not portable, relies on a legacy permissions model, cannot handle arbitrarily nested file system paths, and is therefore typically a bug to call. Yet, many programmers reach for this …
-
## General
If you'd like to see a certain `std` type gain support in Getty, please leave a comment and I'll add it to the hit list.
Also, feel free to work on any of the types listed below. If y…
-
### Problem
`Semantic` uses a struct of arrays pattern for `ScopeTree` and other structures.
If we do oxc-project/oxc#4269, then `ScopeTree` would be purely a collection of `IndexVec`s. Then we …
-
Extracted from #17209.
I don't really know how to solve this problem, but at least here is a tracking issue for it.
```zig
const std = @import("std");
pub fn main() !void {
var buf: [10…