zig icon indicating copy to clipboard operation
zig copied to clipboard

General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.

Results 2216 zig issues
Sort by recently updated
recently updated
newest added

Also fixes bug in add InstallFileWithDir. This PR allows one to use a `WriteFileStep` to write several related files: ```zig write_step.addCopyFile("data/embed_1.bin", …); write_step.addCopyFile("data/embed_2.bin", …); write_step.add("bundle.zig", \\pub const embed1 = @embedFile("data/embed_1.bin");...

This error occurs when ```foo*.``` is typed instead of ```foo.*``` to dereference a pointer which is a common beginner error. Sorry about the closed PR I tried fixing one thing...

### Zig Version 0.11.0-dev.1393+38eebf3c4 ### Steps to Reproduce and Observed Output Pass a struct to `std.mem.Allocator.free(allocator, my_struct);` You get: - an error message that doesn't clearly say what went wrong...

error message

### Zig Version 0.11.0-dev.1711+dc1f50e50 ### Steps to Reproduce and Observed Behavior ```zig const std = @import("std"); pub const File = extern struct { id: usize, data: ?*anyopaque, }; pub fn...

bug

### Zig Version 0.11.0 ### Steps to Reproduce and Observed Behavior 1. I have built LLVM, LLD and CLANG from sources (all in version 15.0.7 with `-DCMAKE_BUILD_TYPE=Release -DLLVM_USE_CRT_RELEASE=MT`) 2. In...

bug

Hello everyone, I would like to discuss the SIMD aspect of Zig. There are many aspects to consider with SIMD. To simplify the discussion, I will use the following straw-man...

proposal

Support for the use case: `zig objcopy --strip-all program stripped --extract-to stripped.dbg` to separate the debug & symbols sections out to a companion file, with a corresponding `.gnu_debuglink`. note: this...

### Zig Version 0.11.0-dev.1929+4ea2f441d ### Steps to Reproduce and Observed Behavior Create file `atom.c`: ``` int main() { return 0; } ``` Run `stage4/bin/zig cc /path/to/atom.c -target thumb-linux-musleabi`. Obtained stacktrace:...

bug
contributor friendly
upstream
arch-arm
backend-llvm

- Fix usage string `--skip-code-test` to `--skip-code-tests`. - Added a token `{#additonal_option|-rdynamic#}` which introduce arbitrary flag to `build-exe/obj/lib` example. - Fix wasm freestanding example, it now needs explicit export symbols...

Hi guys, is it currently possible to compile Zig for the ESP8266/ESP32? According to [this forum post](https://esp32.com/viewtopic.php?p=38466) it seems like LLVM supports it as a target. I would love to...

standard library
upstream
os-xtensa