zig
zig copied to clipboard
General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
### Zig Version 0.14.0-dev.3271+bd237bced ### Steps to Reproduce and Observed Behavior ## Reproducer C Code ```c int main() { int *p = (int *)1; return 0; } ``` ## Translated...
To repro, add this to `test/tests.zig`: ```zig .{ .target = .{ .cpu_arch = .x86, .os_tag = .netbsd, .os_version_min = .{ .semver = .{ .major = 10, .minor = 1, .patch...
Zig's level of support for various targets is broadly categorized into four tiers with Tier 1 being the highest. The goal is for Tier 1 targets to have zero disabled...
Fixes https://github.com/ziglang/zig/issues/23358 Adds the ldexp family of functions to compiler_rt, proxying the implementation to std.math.ldexp. Inspired by the approach taken to [exp2](https://github.com/ziglang/zig/blob/master/lib/compiler_rt/exp2.zig), which does not appear to handle errno when...
### What this PR does ? This PR make the `zig fetch` command but also the zig package system handle `jar` like `zip` ### A tiny story on why I...
### Zig Version 0.15.0-dev.648+92c63126e ### Steps to Reproduce and Observed Behavior Run the following program with `zig run repo.zig` ```zig // repo.zig const std = @import("std"); pub fn main() !void...
This PR potentially addresses issues #20039, #21103, and #16811. ### Background As outlined in #20039, when attempting to link a library named `foo`, the default search paths are `foo.dll`, `foo.lib`,...
`std.BoundedArray` seems to be the only exception in the standard library that has an extra function `constSlice()` as an alternative to `slice()` to return a constant slice `[]const Type` instead...
### Zig Version 0.11.0 ### Steps to Reproduce and Observed Behavior I was experimenting with making Android apps in Zig. Using ReleaseFast, I managed to get a 13Kb APK which...