# std.build: simpler fix to options implementation · gitcafe/zig

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

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

Visibility: public

Requested revision: abd9089aa6f1003a0bb474ac9e8969015e8808bd

Requested commit: abd9089aa6f1003a0bb474ac9e8969015e8808bd

Commit: abd9089aa6f1003a0bb474ac9e8969015e8808bd

Tree: ae4a6e178b7218adff0c1a82506f23e489b68db1

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.build: simpler fix to options implementation

Instead of messing with ArrayList and more logic, just unwrap the error
of toOwnedSlice().

```

## Parents

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

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