zig
zig copied to clipboard
General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
These updates were made by testing all supported arch-OS-ABI combinations against the `sizeof`/`_Alignof` reported by Clang and correcting any discrepancies. There's bound to be some incorrect entries in here where...
### Zig Version 0.10.0-dev.4476+0f0076666 ### Steps to Reproduce ## badcodegen.zig ```zig const std = @import("std"); export fn badCodeGen(f: f64) u64 { return @floatToInt(u64, f); } pub export fn _start() callconv(.Naked)...
cc @mikdusan noticed this improving stage2 compilation performance of stage3 by slightly more than 2x on macOS when using our own implementation > libSystem.memcpy: 299.05 seconds > memcpy.zig: 996.01 seconds...
### Zig Version 0.10.0-dev.4472+a4eb221b9 ### Steps to Reproduce I thought I saw this somewhere before, but I have not been able to find it. Sorry if this bug is already...
On 64-bit targets `i128` maps directly to `__int128` but on targets that don't support it (seeming all
### Zig Version 0.10.0-dev.4519+09236d29b ### Steps to Reproduce That problem will only occur when building for `wasm32-freestanding-musl` ~~As i don't have a smaller reproduction right now: Compile [zero-graphics](https://github.com/MasterQ32/zero-graphics) by cloning...
Follow-up to #12837. Wanted to separate this one out since it's a change to UX. The idea is to make it easier to track errors that flow through a catch...
Zig can be built with or without `-Denable-llvm`. Currently, Zig is not very useful without enabling LLVM extensions. However, as we move into the future, Zig is intending to compete...
### Zig Version 0.10.0-dev.4418+99c3578f6 ### Steps to Reproduce ```zig test "continue nested inline for loop in named block expr" { var a: u8 = 0; loop: inline for ([_]u8{ 1,...