zig
zig copied to clipboard
General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
The `--just-symbols` option for `ld` (alias `-R`) specifies a file to be included containing data with the following format (spaces required): ``` symbol_name1 = address1; symbol_name2 = address2; ``` allowing...
### Zig Version 0.16.0-dev.1399+7b325e08c ### Steps to Reproduce and Observed Behavior ``` /home/yfr/.local/share/mise/installs/zig/master/lib/std/Io.zig:1041:17: error: error union is ignored @call(.auto, function, args_casted.*); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/yfr/.local/share/mise/installs/zig/master/lib/std/Io.zig:1041:17: note: consider using 'try', 'catch', or 'if'...
The `writeSplatHeaderLimitFinish` logic correctly takes the limited prefix slice of the header, but fails to chop off excess in the data vector slices, causing a drain longer than the limit....
I wanted to name this fn `sigTimedWait` to match zig style. But decided not to given all (most?) other functions here duplicate the C-API style. I'm not up to date...
### Zig Version 0.16.0-dev.1316+181b25ce4 ### Steps to Reproduce and Observed Behavior The current master has two related issues with handling `.INVAL` when calling the `accept` method. First of all, `.INVAL`...
### Zig Version 0.16.0-dev.764+f785e4745 ### Steps to Reproduce and Observed Behavior 1. Clone https://codeberg.org/clevor/narser/ at commit cea1f806158172190a0cf08101f5a65566a89417 2. Run `zig build test --watch -fincremental` 3. In `src/root.zig`, uncomment line 490...
### Zig Version 0.15.2 ### Steps to Reproduce and Observed Behavior Missing space and additional comma at: https://ziglang.org/documentation/master/std/#std.os.linux.clone ``` pub fn clone( func: *const fn (arg: usize) callconv(.c) u8, stack:...
### Zig Version 0.15.1 ### Steps to Reproduce and Observed Behavior I used the blinky.elf file from the project [stm32-baremetal-zig](https://github.com/haydenridd/stm32-baremetal-zig), but other elf files should also show the same behavior....
When IORING_SETUP_SQE128 is set, the kernel uses 128-byte spacing instead of 64, and with IORING_SETUP_CQE32 it uses 32-byte CQE spacing instead of 16 bytes. This was causing problems when attempting...
### Zig Version 0.15.2 ### Steps to Reproduce and Observed Behavior In functions taking structs as arguments none of the variables can be found in the watch window. Here is...