# std: always allow spawning processes when an env map is explicitly provided \(\#25092\) · gitcafe/zig

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

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

Visibility: public

Requested revision: 6069f908e9f1f8655af3faca3bd6de99de58af16

Requested commit: 6069f908e9f1f8655af3faca3bd6de99de58af16

Commit: 6069f908e9f1f8655af3faca3bd6de99de58af16

Tree: 1495145c3edf2e55d014858ccc16ee7780459b81

Author: Carter Snook

Committer: Alex Rønne Petersen

## Message

```
std: always allow spawning processes when an env map is explicitly provided (#25092)

In a library, the two `builtin.link_libc` and `builtin.output_mode ==
.Exe` checks could both be false. Thus, you would get a compile error
even if you specified an `env_map` at runtime. This change turns the
compile error into a runtime panic and updates the documentation to
reflect the runtime requirement.
```

## Parents

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

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