# std.Build: support running build artifacts from packages · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/dad6039092d02460d5e993855b129da9949e9c5c)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: dad6039092d02460d5e993855b129da9949e9c5c

Requested commit: dad6039092d02460d5e993855b129da9949e9c5c

Commit: dad6039092d02460d5e993855b129da9949e9c5c

Tree: 69eeb85b13e7dae4d96be0e28ed1e38c3c0ccfcf

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
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.

```

## Parents

- [27317eaff08453792ae2d3bd0c96f81be8a26bfc](https://git.cafe/gitcafe/zig/commit/27317eaff08453792ae2d3bd0c96f81be8a26bfc?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/dad6039092d02460d5e993855b129da9949e9c5c?format=markdown)
