# std.build: eliminate setTarget and setBuildMode · gitcafe/zig

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

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

Visibility: public

Requested revision: 71ff60f1265da83e619b1b6b2488ecb448fdfd36

Requested commit: 71ff60f1265da83e619b1b6b2488ecb448fdfd36

Commit: 71ff60f1265da83e619b1b6b2488ecb448fdfd36

Tree: c38e652543d15bae6eebb03a2ec4711e56611d42

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.build: eliminate setTarget and setBuildMode

This is a breaking change that makes the API for creating build
artifacts no longer have any period of time where the target and
optimization mode are not set.

```

## Parents

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

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