mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 15:56:13 +03:00
don't need fstage1
This commit is contained in:
@ -75,16 +75,12 @@ on the [Zig downloads page](https://ziglang.org/download/).
|
||||
With Zig installed, a binary can be built using `zig build`:
|
||||
|
||||
```shell-session
|
||||
$ zig build -fstage1
|
||||
$ zig build
|
||||
...
|
||||
|
||||
$ zig-out/bin/ghostty
|
||||
```
|
||||
|
||||
**Important: you must specify the `-fstage1` flag.** Ghostty can't yet be
|
||||
built with the self-hosted Zig backend, so we have to use "stage1" (the
|
||||
C++ LLVM backend).
|
||||
|
||||
This will build a binary for the currently running system (if supported).
|
||||
You can cross compile by setting `-Dtarget=<target-triple>`. For example,
|
||||
`zig build -Dtarget=aarch64-macos` will build for Apple Silicon macOS. Note
|
||||
|
Reference in New Issue
Block a user