zig
zig copied to clipboard
General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
Mitigates #14978.
## Changes - When `build-exe` is called with framework paths through `-F` option, pass the framework paths to compiler too. Reopen of PR #14151. Closes #7838 - Fixes one of...
Closes #14972 Took awhile to figure out but it uses `Server.zig`'s messaging to deliver the error name. ```zig const std = @import("std"); test "oops" { const stuff = try std.testing.allocator.alloc(u8,...
Minor feature to test edge cases. Zig allows custom made compiler errors. Example is here: http://andrewkelley.me/post/zig-programming-language-blurs-line-compile-time-run-time.html There should be some easy way to check if they are implemented correctly. ----------...
cc @kubkon ``` c:\msys64\home\andy\dev\zig\build-llvm10>bin\zig.exe build test Test [1/3] test "self-hosted"... tests [1/20] referencing decls which appear later in the file [1/1] update [1/3] write.tests [1/20] referencing decls which appear later...
In general, the standard library is intended to strongly encourage the use of open directory handles rather than path string manipulation, and this includes child process creation. Here's my current...
### Zig Version 0.11.0-dev.3031+f40539e5d ### Steps to Reproduce and Observed Behavior While removing a blank line after a doc comment `zig fmt` introduces a newline above said comment, which then...
### Zig Version 0.10.1 ### Steps to Reproduce and Observed Behavior ```zig test "testing" { std.log.warn("test", .{}); } ``` output: ``` Test [1/1] test.testing... [default] (warn): test ``` ### Expected...
### Zig Version 0.11.0-dev.2986+012f9a97e ### Steps to Reproduce and Observed Behavior ``` $ git clone https://codeberg.org/hanna/mocha $ cd mocha $ git checkout 284e6dc9af3fdae262d66d8390d81c8a11021a1e $ zig build test -fsummary ``` ```...
Resolves: #15878