zig
zig copied to clipboard
General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
### Zig Version 0.11.0-dev.1182+fd0fb26ab ### Steps to Reproduce and Observed Behavior Trying to call `Ip4Address.resolveIP` leads to a compiler error: ``` /home/mint/Downloads/zig/lib/std/net.zig:241:60: error: switch must handle all possibilities if (parse(name,...
[RFC 5280 section 4.2.1.3](https://datatracker.ietf.org/doc/html/rfc5280#section-4.2.1.3) https://github.com/ziglang/zig/blob/c9ef277fa7e43f119a7f2896635b4fdf9c97edbe/lib/std/crypto/Certificate.zig#L197-L201
Extracted from #13980. After implementing #14171, let's look at a test coverage report and decide what to do from there. Marking as "bug". Guilty until proven innocent.
Extracted from #13980. See [RFC 8446 section 6](https://datatracker.ietf.org/doc/html/rfc8446#section-6). Currently the TLS client implementation will return an error, but the server will see it as a disconnect and not know why...
### Zig Version 0.11.0-dev.986+5ca1753ff ### Steps to Reproduce and Observed Behavior 1. Re-enable the test case that was removed in 0be6157a23bc11698d01036d7a4454b6114965d3. 2. Observe the following failures: aarch64-linux-debug: ``` compiler [130/1184]...
### Zig Version 0.11.0-dev.986+5ca1753ff ### Steps to Reproduce and Observed Behavior Enable the disabled behavior tests and then: ``` $ stage3/bin/zig test ../test/behavior.zig -I../test -target aarch64-windows LLVM Emit Object... zig:...
### Zig Version 0.11.0-dev.947+cf822c6dd ### Steps to Reproduce and Observed Behavior Building bun with `emit_h` enabled produced this header file (this is only 1/4 of it, which can fit inside...
This is a sub-task of #114. ```zig const std = @import("std"); pub const max_ciphertext_len = 1
In the https://ziglang.org/documentation/master/#Optionals, the documentation says: "One benefit to this is that functions which take pointers as arguments can be annotated with the "nonnull" attribute - __attribute__((nonnull)) in [GCC](https://gcc.gnu.org/onlinedocs/gcc-4.0.0/gcc/Function-Attributes.html). The...
### Zig Version 0.10.0-dev.4644+e036cc48d ### Steps to Reproduce and Observed Behavior ```zig const E = enum(u8) { a, b, c, d, }; const U = union(enum) { a: u32, b:...