zig
zig copied to clipboard
General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
### Zig Version 0.10 ### Steps to Reproduce and Observed Behavior This is not an issue with autodoc but an actual documentation issue, so I'm reporting this as a bug....
### Zig Version 0.11.0-dev.53+cbed6bb08 ### Steps to Reproduce and Observed Behavior I made an image of my buggy code to explain it. This isn't a bug in Zig per se,...
Closes #13340
### Zig Version 0.11.0-dev.86+b83e4d965 ### Steps to Reproduce and Observed Behavior Example on godbolt: https://godbolt.org/z/v9nGn98Wh ```zig export fn asm_memory(mem: *u8) void { asm volatile ("vmovntdq %%ymm0, %[addr]" : : [addr]...
### Zig Version 0.11.0-dev.38+b40fc7018/ ### Steps to Reproduce and Observed Behavior I have a simple code block to execute into WASM environment. ```zig const std = @import("std"); pub fn main()...
`@compileVar` currently only gives access to the builtin compile variables - `is_release`, `os`, `arch`, and a couple others. It should be possible to specify compile variables via the command line,...
- the meaning of packed structs changed in zig 0.10. adjust accordingly. Use "extern struct" for the cases that directly map to C structs. - Add new type info kinds,...
* Add `tagName` to `Value` which behaves like `@tagName`. * Add `hashUncoerced` to `Value` as an alternative to hash when we want to produce the same hash for value that...
Technically not a `translate-c` change but I figured writing that in the commit was more useful than `std`
### Zig Version 0.11.0-dev.85+694d8831c ### Steps to Reproduce and Observed Behavior `zig translate-c` fails to translate a fairly common macro found in many headers: ```C #define STRUCTIFY(name) struct name ```...