# self-hosted: update main.zig · gitcafe/zig

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

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

Visibility: public

Requested revision: e1d4b59c5bd47c7bef3e41279c97cd36991676e2

Requested commit: e1d4b59c5bd47c7bef3e41279c97cd36991676e2

Commit: e1d4b59c5bd47c7bef3e41279c97cd36991676e2

Tree: 2f441e0319bd85d74e8d69beac85810ed30f1ca0

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
self-hosted: update main.zig

After this commit there are no more bit rotted files.
The testing program that was in ir.zig has been moved to main.zig
Unsupported command line options have been deleted, or error messages
added.

The compiler repl is available from the build-exe, build-lib,
build-obj commands with the --watch option.

The main zig build script now builds the self-hosted compiler
unconditionally. Linking against LLVM is behind a -Denable-llvm
flag that defaults to off.

```

## Parents

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

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