# build: introduce \-Dwasi-bootstrap option · gitcafe/zig

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

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

Visibility: public

Requested revision: db023b98a4deef527d4c70d146009f754e9b168d

Requested commit: db023b98a4deef527d4c70d146009f754e9b168d

Commit: db023b98a4deef527d4c70d146009f754e9b168d

Tree: ce17bf192695b873c1e6ecb221a22a0d3a30048b

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
build: introduce -Dwasi-bootstrap option

Also, make -Donly-c prevent Autodoc from being included in the binary.

This produces a 2.6 MiB zig.wasm file. 781 KB if piped through zstd.

```

## Parents

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

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