zig
zig copied to clipboard
General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
weak memcmp symbol from compiler_rt is not overridden when building Python 3.11.0 on Linux and MacOS
### Zig Version 0.10.0-dev.4562+b3cd38ea4 ### Steps to Reproduce Building Python from source worked well using the dev versions of zig until a few days ago. This bug is very easy...
This is currently supported by self-hosted: ```zig fn foo(comptime a: u16, comptime cc: builtin.CallingConvention) void align(a) callconv(cc) { } ``` I think the language should be simplified so that align...
### Zig Version b316c25cc6f5b1703d7912da16c5c987f4406451 ### Steps to Reproduce `zig build-lib main.zig -OReleaseSmall -dynamic -target wasm32-freestanding -mcpu=generic+reference_types`: ``` zig comptime { asm ( \\.functype createElement (externref) -> (externref) \\.import_module document, document...
`gofmt` supports the `-s` code to simplify code. The details are available at https://github.com/golang/go/blob/master/src/cmd/gofmt/simplify.go. I propose to add the `--simplify` flag to `zig fmt`. Here a possible list of simplifications:...
Add tests for empty initialization, and some more corner cases (empty key, very long key, duplicate keys). Fixes #18212
Build on https://github.com/ziglang/zig/pull/16970 with additional CLs for "weak_hidden_alias" and re-enabling disabled tests.
I propose to add the `--diff` option to the `zig fmt` command. When it is set, it will display diffs instead of rewriting files. The `--diff` and `--check` options can...
Only implemented for Windows right now, I'm not sure that I've written any of this correctly but the idea is there. Please give me feedback as I still have not...
solves #17834
### Zig Version 0.12.0-dev.1819+5c1428ea9 ### Steps to Reproduce and Observed Behavior 1. Clone https://github.com/kora-org/ydin 2. Build it on Windows using the native Zig build for Windows (not WSL) 3. You...