Jan Ph. H.
Jan Ph. H.
One use case for an enum array is to comptime-compute maximum buffers size and use the enum to point to offsets into the buffer for returning the according slice or...
@Pyrolistical So far `EnumArray` is only an an enum available as indexed array. I would close this once indirect indexing at comptime works and has tests.
Is there any prior art or example code to sketch out the idea you had in mind?
> Any idea? Following symlinks has other constants on freebsd and darwin and you unconditionally use the linux ones. For example, `AT_SYMLINK_NOFOLLOW` is not defined in os/darwin.zig. You can test...
Now the error on x86_64-linux debug looks "better" with `INVAL` (EINVAL Invalid flag specified in flags. ): ``` + stage3/bin/zig fmt --check .. --exclude ../test/cases/ --exclude ../build-debug --exclude ../build-release --exclude...
This deserves to be tagged `backend-llvm` and `arch-arm`.
Nice short and clean PR and good questions. > custom test runner probably does not want it's stdout to be consumed by the build runner Why not? This allows conditional...
Can you rebase against master and force push? The CI failures look unrelated to me.
> uses different intrinsics per platform (and a custom implementation on arm You can reuse parts of my open PR #9578 to select the correct function at comptime and expose...
PR looking good, though this time this fails: ```txt + stage3/bin/zig build test-link -fqemu -fwasmtime -Denable-llvm warning: config.h could not be located automatically. Consider providing it explicitly via "-Dconfig_h" thread...