zig
zig copied to clipboard
General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
Here's what MinGW provides for Zig: * C/C++ headers for the win32 APIs (means we can compile C/C++ code without depending on Visual Studio) * An implementation of libc for...
This PR adds `fn std.io.tty.detectConfigForce(File, bool) Config` which accepts an extra parameter to force coloring if the platform supports it. There are two code paths where `.no_color` will be returned:...
### Zig Version 0.11.0-dev.2247+38ee46dda ### Steps to Reproduce and Observed Behavior I'm assuming Windows needs something similar to the solution for macOS from #15006 ``` $ git clone https://github.com/pkmn/engine.git $...
### Zig Version v0.10.0 ### Steps to Reproduce and Observed Behavior I'm occasionally seeing errors from `zig cc`, either one of: - `error: unable to build compiler_rt: FileNotFound` - `error:...
### Zig Version 0.11.0-dev.1987+a2c6ecd6d ### Steps to Reproduce and Observed Behavior I'm not sure it's not a Go bug again, so please help me investigate. `CC='zig cc' go test -race...
`zig cc -Wl,--version` is not understood by the linker: ### clang-16 ``` $ clang-16 -Wl,--version GNU ld (GNU Binutils for Ubuntu) 2.38 Copyright (C) 2022 Free Software Foundation, Inc. This...
## Upstream Changelog * New libdloadhelper.a, like libdelayimp.a but using Windows 8 and later APIs. * Fix race condition when building lib32 and lib64 in parallel on Windows. * *recalloc...
At the moment, `std.os.uefi` is a very barebones wrapper around UEFI. I'm proposing to rework it in the following ways: - Make functions that can fail return error unions -...
### Zig Version 0.11.0-dev.3620+c76ce25a6 ### Steps to Reproduce and Observed Behavior ```zig const std = @import("std"); test { try std.testing.expect(foo() == null); } fn foo() @Type(.Null) { return null; }...
### Zig Version 0.11.0-dev.3723+423d7b848 ### Steps to Reproduce and Observed Output Code: ```zig fn hello(callback: fn (_: anytype) void) void { _ = callback("hello world!"); } test { _ =...