# Linker: \-z\<arg\> should be equivalent to \-z \<arg\> \(\#14680\) · gitcafe/zig

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

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

Visibility: public

Requested revision: 5a7d80a5e7d0aaafc6ed3017e0e4342dcd476a51

Requested commit: 5a7d80a5e7d0aaafc6ed3017e0e4342dcd476a51

Commit: 5a7d80a5e7d0aaafc6ed3017e0e4342dcd476a51

Tree: 59520b6ab55547d2c7fedf575ce948db13bbcb3d

Author: Frank Denis

Committer: GitHub

## Message

```
Linker: -z<arg> should be equivalent to -z <arg> (#14680)

lld accepts both syntaxes, but we were rejecting (and, before
3f7e9ff597a3514bb1c4f1900027c40682ac9f13, ignoring) the former.

In particular, "cargo-zigbuild" was broken since Rust
unconditionally adds "-znoexecstack" (not "-z noexecstack")
on non-Windows platforms.

Co-authored-by: Andrew Kelley <andrew@ziglang.org>
```

## Parents

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

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