• Sweden
  • Joined on 2025年12月08日
nilsj commented on issue ziglang/zig#35303 2026年05月14日 14:34:52 +02:00
Failure to compile with fuzz testing

Try zig build test --fuzz -Doptimize=ReleaseSafe

nilsj commented on pull request ziglang/zig#31737 2026年04月02日 16:24:14 +02:00
libzigc: port musl powf to Zig

How did you test it?

nilsj created pull request ziglang/zig#31351 2026年02月27日 13:53:15 +01:00
Sync CallModifier in langref with what's actually there
nilsj pushed to fix_langref at nilsj/zig 2026年02月27日 13:51:05 +01:00
2da1370a7e sync CallModifier in langref with what's actually there
nilsj created branch fix_langref in nilsj/zig 2026年02月27日 13:51:05 +01:00
nilsj created repository nilsj/zig 2026年02月27日 12:41:32 +01:00
nilsj commented on pull request ziglang/zig#31299 2026年02月23日 12:56:38 +01:00
Make std.PriorityQueue an unmanaged container

ensureTotalCapacityPrecise is pub on ArrayList why shouldn't it here?

nilsj commented on pull request ziglang/zig#30171 2026年01月09日 12:23:16 +01:00
Implement package fetch retries

I was reading std and found this, probably applicable? https://ziglang.org/documentation/master/std/#std.Io.random

nilsj commented on pull request ziglang/zig#30171 2026年01月08日 11:00:42 +01:00
Implement package fetch retries

Converting to lowercase should be unnecessary, according to the MDN docs it's case sensitive. Therefore you can just change the entries in the Month enum to be capitalized and then do stringToEnum....

nilsj commented on pull request ziglang/zig#30171 2026年01月03日 22:38:17 +01:00
Implement package fetch retries

Just some things I thought about when reading through the PR.

nilsj commented on pull request ziglang/zig#30171 2026年01月03日 22:38:15 +01:00
Implement package fetch retries

I think most people write ".{ .nanoseconds = nanoseconds };"

nilsj commented on pull request ziglang/zig#30171 2026年01月03日 22:38:13 +01:00
Implement package fetch retries

spelling

nilsj commented on pull request ziglang/zig#30171 2026年01月03日 22:38:11 +01:00
Implement package fetch retries

spelling

nilsj commented on pull request ziglang/zig#30171 2026年01月03日 22:38:09 +01:00
Implement package fetch retries

The naming convention for zig regarding constants is just snake_case. https://ziglang.org/documentation/master/#Names

nilsj commented on pull request ziglang/zig#30171 2026年01月03日 22:38:07 +01:00
Implement package fetch retries

Why use a slow crypto.random here. not that this is a performance sensitive place. Idk how other places in the codebase handle things like this.

nilsj commented on pull request ziglang/zig#30171 2026年01月03日 22:38:04 +01:00
Implement package fetch retries

the first one should be status.class() == .server_error

nilsj commented on pull request ziglang/zig#30171 2026年01月03日 22:38:02 +01:00
Implement package fetch retries

The ": Io.Timestamp" is unnecessary on lhs or?

nilsj commented on pull request ziglang/zig#30171 2026年01月03日 22:38:00 +01:00
Implement package fetch retries

I feel like this should just be replaced with a std.meta.stringToEnum this seems redundant.