zig
zig copied to clipboard
General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
### Zig Version 0.10.0-dev.4341+e4e1c21e1 ### Steps to Reproduce Have a program that calls a native C function that was built with the zig application using addCSource. Attach a debug and...
### Zig Version 0.10.0-dev.4470+8a344fab3 ### Steps to Reproduce In the zig main repository on commit `a4eb221b9ef7dab8fa1c6cc07c7891e25d98d2b6` ```sh rm -rf zig-out/ zig-cache/ zig build # this zig is downloaded from the...
### Zig Version 0.10.0-dev.4472+a4eb221b9 ### Steps to Reproduce Build Zig and save the LLVM IR: ```console $ /build/zig2 build -p stage3_debug -Dstrip=true -Denable-llvm=true --verbose-llvm-ir 2>llvm_ir.txt ``` If you examine `Autodocs.walkInstruction`...
Fixes #9971 * fixes issues with different size types
This adds * unnamed decl support * relocation support Hello world now works again
Before this PR, the added test would have failed on Windows with the error found in https://github.com/ziglang/zig/issues/8268. Fixes #8268.
- Add two length bounds of 1024 for the filename and comment fields. The official gzip C sources use a bound of 1024 for the filename, so that number is...
Currently it's possible to override the default panic handler, but not `panicOutOfBound`, `panicSentinelMismatch` nor `panicUnwrapError` which are typically calling `panic`. The issue I have with this is that those are...
### Zig Version 0.10.0-dev.4176+6d7b0690a ### Summary & Impact When using a relative zig lib directory (`ZIG_LIB_DIR=lib`) and when building from different directories, libc shims get rebuilt *for every working directory*....
build_runner now checks build.zig for min_zig_version configuration, i.e. ```zig //config min_zig_version 0.10.0-dev.2836+2360f8c49 ``` This provides a standard for projects to document their min zig version. In addition, if zig detects...