0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/lib/std/Build
Matthew Lugg f6751410e9
build: run some tests with -flegalize-all
It's useful to run both a little-endian and a big-endian target here,
because some legalizations are susceptible to endianness bugs, e.g. any
related to bitwise operations or to `packed` (aka `bitpack`) types.

When modifying legalizations or adding new ones, they can be tested by
running `zig build test-modules -Donly-legalize` to limit to the targets
which pass `-flegalize-all`.

This makes it much easier to facilitate external contributions towards
https://codeberg.org/ziglang/zig/issues/36719, and will prevent
legalization passes from bit-rotting in the future.
History 2026-10-26 14:17:03 +00:00
..
Cache std.Build.Cache.DepTokenizer: slightly modernize 2026-09-16 13:12:47 -07:00
Step build: run some tests with -flegalize-all 2026-10-26 14:17:03 +00:00
abi.zig zig fmt 2026-07-17 23:30:26 +02:00
Cache.zig std.Build.Cache: support depending on nonexistent file/directory 2026-10-19 18:30:35 +01:00
Configuration.zig build: run some tests with -flegalize-all 2026-10-26 14:17:03 +00:00
Module.zig compiler: add support for patchable functions 2026-09-16 19:21:21 +02:00
Serialize.zig build: run some tests with -flegalize-all 2026-10-26 14:17:03 +00:00
Step.zig std.Build: lazy dependencies can associate with steps 2026-10-15 16:00:57 -07:00