# fix build-exe for \-\-target-arch wasm32 \(\#1570\) · gitcafe/zig

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

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

Visibility: public

Requested revision: 24bbade217ed814bd6c4d94ed93442824b7153a4

Requested commit: 24bbade217ed814bd6c4d94ed93442824b7153a4

Commit: 24bbade217ed814bd6c4d94ed93442824b7153a4

Tree: 3279ba5d4d6402e02bc2e8f5f94603c3c15f0a09

Author: Ben Noordhuis

Committer: Ben Noordhuis

## Message

```
fix build-exe for --target-arch wasm32 (#1570)

Pass --no-entry instead of --relocatable to lld. Both stop a reference
to the _start() entry point from being emitted but --relocatable also
prevents public symbols from being exported when creating an executable.

```

## Parents

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

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