zig icon indicating copy to clipboard operation
zig copied to clipboard

General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.

Results 2216 zig issues
Sort by recently updated
recently updated
newest added

Second attempt at #14661 :) in Zig's WASI support: > `cwd()` always points at `fd=3`, i.e. the first given preopen. However, if multiple preopens are available, there is currently no...

Implement the http://www.brynosaurus.com/cachedir/ specification for the Zig cache directory. This change will make it easier to exclude Zig cached data from a backup, expecially when the directory is not a...

Uses a single NtCreateFile syscall on windows, falling back if the parent directory does not exist. Closes ziglang#12474. Thanks to @joedavis and @matu3ba.

Currently as part of Zig's type qualifiers `const` is offered to indicate read-only memory access through say a pointer. For whatever reason however C, C++ and other derivative languages often...

### Zig Version 0.11.0-dev.1913+95f6a5935 ### Steps to Reproduce and Observed Behavior I'm trying to write a custom build step (that generates `compile_commands.json`). With the following `zig.build` file (reduced to a...

bug

### Zig Version 0.11.0 ### Steps to Reproduce and Observed Behavior Here's the Zig code for a minimal program that requests all valid framebuffers from GLX: ``` const c =...

bug
os-freebsd

Closes #14822. This PR implements the simple solution I mentioned in the linked issue by using a hashmap to detect when an attempt is made to add a top-level step...

Consider adding [CACHEDIR.TAG](https://bford.info/cachedir/) to zig-cache directory. It's just text file with ASCII text at the beginning: ```text Signature: 8a477f597d28d172789f06886806bc55 ``` (The hexadecimal string is same on all CACHEDIR.TAG files.) For...

enhancement
proposal
accepted
stage2

### Zig Version 0.11.0-dev.1898+36d47dd19 ### Steps to Reproduce and Observed Behavior ``` > zig cc -- program.c error: Unknown Clang option: '--' ``` ### Expected Behavior It should parse like...

bug

A straight forward port of `int_log10` from the [Rust standard library](https://github.com/rust-lang/rust/blob/f63ccaf25f74151a5d8ce057904cd944074b01d2/library/core/src/num/int_log10.rs), including tests. In theory, this makes it possible to _accurately_ compute `log10` of any integer, from `u1` to `u65535`....