zig
zig copied to clipboard
General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
Fixes #18210 and makes it possible to use floating-point types in Zig on RISC-V. Tested with my Orion firmware for RISC-V which is using Phantom UI for its built in...
### Zig Version 0.12.0-dev.1785+72568c131 ### Steps to Reproduce and Observed Behavior While playing around with a bare-metal riscv code, I'm having a relocation linking issue related to the formatting of...
Closes #18296. The first commit fixes the segfault in `mem.indexOfSentinel`. The second renames `suggestVectorSize` to `suggestVectorLength` and makes the former a compile error. The function returns the vector *length* (as...
LLVM 16 currently adds support for c++ modules to clang/++, in addition to clang modules. However, zig cc/c++ does not have optimal support based on the references below. ### Test...
_Suggested labels for this issue: [docs] [contributor friendly]_ With regards to Wiki page [Install Zig from a Package Manager](https://github.com/ziglang/zig/wiki/Install-Zig-from-a-Package-Manager) - When trying to install Zig on Windows MSYS2 via `pacman...
Add doc comments. Add tests.
### Zig Version 0.12.0-dev.1836+dd189a354 ### Steps to Reproduce and Observed Behavior ``` // emptystruct.zig const std = @import("std"); const StructInProgress = struct { // x: usize, // add this field...
This proposal is about implementing a diff algorithm (probably Myers') in the standard library. # Considerations - It would probably be under `std.mem`, being something like `std.mem.diff` - The prototype...
### Zig Version 0.12.0-dev.1753+a98d4a66e ### Steps to Reproduce and Observed Behavior Compile the following using `zig build-obj -target mipsel-freestanding -O ReleaseFast -femit-asm` ```zig export fn int_cast(x: i32) i16 { return...
### Zig Version 0.12.0-dev.293+f33bb0228 ### Steps to Reproduce and Observed Behavior https://github.com/menduz/mach-glfw/actions/runs/6164914009