• Joined on 2026年01月06日
chadwain commented on issue ziglang/zig#35842 2026年06月19日 06:11:33 +02:00
Build.Step.Options generates invalid code for arrays of container types

This would be fixed by #35535

chadwain pushed to fix-std-build-options-new at chadwain/zig 2026年06月10日 09:28:28 +02:00
f979715b55 Options: disallow comptime struct fields
a35944f20c Options: better field name formatting
Compare 2 commits »
chadwain commented on pull request ziglang/zig#35535 2026年06月03日 05:33:50 +02:00
Build.Step.Options: rewrite addOption implementation

I'll just paste here an example build.zig I've been using to test this.

chadwain pushed to fix-std-build-options-new at chadwain/zig 2026年06月03日 05:11:11 +02:00
de4a7d7082 Options: better type checking and error messages
c45099553a Options: support single-item pointers and alignment
be724d0734 Options: style changes
4a9ab9380a Options: fix float/void printing
c4a37e2d56 Options: correct field name formatting
Compare 665 commits »
chadwain commented on pull request ziglang/zig#35535 2026年05月29日 20:48:15 +02:00
Build.Step.Options: rewrite addOption implementation

I'll rebase this once I can get a more recent build of the compiler.

chadwain created pull request ziglang/zig#35535 2026年05月29日 20:47:34 +02:00
WIP: rewrite Build.Step.Options implementation
chadwain pushed to fix-std-build-options-new at chadwain/zig 2026年05月29日 20:36:25 +02:00
6f1e9bc06f std.Build.Step.Options: fix/add tests
dfa2a33f7a better type checking and error messages
3248be66d7 support single-item pointers and alignment
32f32f8ae1 some fixes
dcfb03687c correct field name formatting
Compare 7 commits »
chadwain commented on pull request ziglang/zig#35433 2026年05月28日 14:43:34 +02:00
std.zon: fix memory leak

I've implemented your suggestion instead

chadwain pushed to zon-leak at chadwain/zig 2026年05月28日 14:42:01 +02:00
e840ad4d5d
fix error note memory leak
3f1dead2fc Merge pull request 'Use struct-of-arrays style for std.lang.Type' (#35234) from Der_Teufel/zig:soa-builtin-type into master
8d1b6e3397 compiler: fix spirv makeWritable
f04799dc9c implicitly enable LLVM when TSan is enabled (#35311)
7ee6e7d61e std.debug.Dwarf.Unwind.VM: deal with negative offsets in unsigned CFI insns
Compare 321 commits »
chadwain commented on pull request ziglang/zig#35433 2026年05月24日 05:32:14 +02:00
std.zon: fix memory leak

added a test case

chadwain pushed to zon-leak at chadwain/zig 2026年05月24日 05:31:13 +02:00
7686fd20f6 fix error note memory leak
chadwain created pull request ziglang/zig#35433 2026年05月23日 19:54:20 +02:00
std.zon: fix memory leak
chadwain pushed to zon-leak at chadwain/zig 2026年05月23日 19:45:48 +02:00
7dd79ff977
fix error note memory leak
4a65cc4aca Zcu: report outdated nav_ty when previous generation had a compile error
fec502ec67
Elf2: flush ehdr phoff when rodata moves
21b7ceb5e5
std.fs.test: disable Dir.renamePreserve onto existing test on Windows
Compare 10 commits »
chadwain created branch zon-leak in chadwain/zig 2026年05月23日 19:45:48 +02:00
chadwain created pull request ziglang/zig#35305 2026年05月14日 01:59:15 +02:00
Io.Writer: add writeEnum
chadwain pushed to reader-writer-fns at chadwain/zig 2026年05月14日 01:55:20 +02:00
f3772438cb
Io.Writer: add writeEnum
9787df9421 fix(std.Target/spirv): correct variable_pointers feature description
cb1fe0e578 Merge pull request 'ci: build/run all darwin module tests on aarch64-macos' (#35256) from alexrp/zig:maccatalyst-ci into master
c461befcf9
ci: build/run all darwin module tests on aarch64-macos
f99a310a1a
test: don't run x86_64-macos module tests
Compare 10 commits »
chadwain created branch reader-writer-fns in chadwain/zig 2026年05月14日 01:55:20 +02:00
chadwain pushed to fix-std-build-options-new at chadwain/zig 2026年05月05日 02:38:42 +02:00
603cd94440 std.Build.Step.Options: fix/add tests
7b212e7f20 support single-item pointers
a06a0aaf19 some fixes
613d8630a0 correct field name formatting
2f920c6f19 include the type name in the error message
Compare 5 commits »
chadwain commented on issue ziglang/zig#32099 2026年04月29日 06:38:47 +02:00
remove @TypeOf and anytype; introduce |T| syntax

@IntegratedQuantum Personally I wouldn't want to see something like this (which looks like C++ style type deduction) implemented in Zig. Systems like these always come with a whole lot of rules...

chadwain pushed to fix-std-build-options-new at chadwain/zig 2026年04月27日 22:51:13 +02:00
933ecbfc7f std.Build.Step.Options: fix/add tests
0683a49576 support single-item pointers
df027303c5 some fixes
cc214b0b20 avoid infinite recursion
280fcde26c correct field name formatting
Compare 7 commits »