aboutsummaryrefslogtreecommitdiff
path: root/src/Compilation.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2023-02-05 16:44:03 -0700
committerAndrew Kelley <andrew@ziglang.org>2023-02-13 06:42:25 -0700
commitdad6039092d02460d5e993855b129da9949e9c5c (patch)
tree69eeb85b13e7dae4d96be0e28ed1e38c3c0ccfcf /src/Compilation.zig
parent27317eaff08453792ae2d3bd0c96f81be8a26bfc (diff)
downloadzig-dad6039092d02460d5e993855b129da9949e9c5c.tar.gz
zig-dad6039092d02460d5e993855b129da9949e9c5c.zip
std.Build: support running build artifacts from packages
Deprecate CompileStep.run. The problem with this function is that it does the RunStep with the same build.zig context as the CompileStep, but this is not desirable when running an executable that is provided by a dependency package. Instead, users should use `b.addRunArtifact`. This has the additional benefit of conforming to the existing naming conventions. Additionally, support enum literals in config header options values.
Diffstat (limited to 'src/Compilation.zig')
0 files changed, 0 insertions, 0 deletions