zig/lib/std/build
Luuk de Gram fd26c12469
RunCompareStep: implement new step
This creates a new step that can run foreign binaries when
emulation is enabled using options such as `enable_qemu`.
When an incompatible binary is found, the binary will not be executed.
This differs from `RunStep` which will always execute a binary,
regardless of the compatibility.

This is useful for usecases where the user wishes to allow for running the
binary on any supported platform either natively or through emulation,
but not generate an error when met with an incompatibility.
The above is useful when creating test cases that rely on running the binary
and optionally verifying its output.

The addition of this Step was generated by the need for our linker tests.
For that reason, a handy function was created on `CheckObjectStep` to ease
the setup for that.
2022-07-23 10:03:46 +02:00
..
CheckFileStep.zig std lib API deprecations for the upcoming 0.9.0 release 2021-11-30 00:13:07 -07:00
CheckObjectStep.zig RunCompareStep: implement new step 2022-07-23 10:03:46 +02:00
FmtStep.zig remove redundant license headers from zig standard library 2021-08-24 12:25:09 -07:00
InstallRawStep.zig Add test executable builds to build.zig 2021-12-06 14:55:35 -06:00
OptionsStep.zig Rename std.build.Pkg.path to std.build.Pkg.source (#11557) 2022-05-26 19:32:28 -04:00
RunCompareStep.zig RunCompareStep: implement new step 2022-07-23 10:03:46 +02:00
RunStep.zig test: introduce link(er) tests - builds on standalone tests 2022-06-20 17:59:17 +02:00
TranslateCStep.zig std.build.TranslateCStep: add C macro support 2022-02-05 03:17:07 -05:00
WriteFileStep.zig std lib API deprecations for the upcoming 0.9.0 release 2021-11-30 00:13:07 -07:00