zig
zig copied to clipboard
General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
### Zig Version 0.11.0-dev.2571+31738de28 ### Steps to Reproduce and Observed Behavior Run `zig build-exe repro.zig`: ```zig // repro.zig const std = @import("std"); pub fn main() anyerror!void { var hasher =...
### Zig Version 0.12.0-dev.1396+f6de3ec96 ### Steps to Reproduce and Observed Behavior Clone [this repo](https://github.com/Beyley/ztyping) with submodules at commit f4a7cb7e529a1a482f4c56c6a8252a747a69e52d, build for aarch64 macos target in ReleaseSafe `zig build -Dtarget=aarch64-macos -Doptimize=ReleaseSafe`...
Add the following system calls to std.os.linux: - sched_setscheduler - sched_getscheduler - sched_setparam - sched_getparam - sched_get_priority_min - sched_get_priority_max Also add required sched_param structure and SCHED constant definitions: - pub...
### Zig Version 0.12.0-dev.3667+77abd3a96, 0.12.0-dev.3182+f3227598e ### Steps to Reproduce and Observed Behavior The langref currently specifies that ["the result \[of `@shlExact` may be\] undefined"](https://ziglang.org/documentation/master/#shlExact). I thought that was unusual for...
Add `glibc_runtime_check.c`: a simple test case that exercises glibc functions that might smoke out linking problems with Zig's C compiler. The build.zig compiles it against a variety of glibc versions....
This issue is to fully eliminate LLVM, Clang, and LLD *libraries* from the Zig project. The remaining ties to these projects are as follows: * [ ] #8726 * [x]...
Closes #19326
Addresses #19478
### Zig Version 0.12.0-dev.3666+a2b834e8c ### Steps to Reproduce and Observed Behavior std.os.linux (and std.posix) is missing the realtime scheduling calls like sched_setscheduler. ### Expected Behavior I'm working on an application...
### Zig Version 0.12.0-dev.3666+a2b834e8c ### Steps to Reproduce and Observed Behavior I'm trying to use `zig cc` as a C compiler on Windows to produce dll, for this test code:...