1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-24 22:01:47 +03:00

docs: explain how to build without Wayland support

refs: https://github.com/wez/wezterm/discussions/1455
This commit is contained in:
Wez Furlong 2021-12-23 20:30:46 -07:00
parent 1d064e0913
commit c96c36fb6e

View File

@ -41,3 +41,15 @@ cargo run --release --bin wezterm -- start
**If you get an error about zlib then you most likely didn't initialize the submodules;
take a closer look at the instructions!**
### Building without Wayland support on Unix systems
By default, support for both X11 and Wayland is included on Unix systems.
If your distribution has X11 but not Wayland, then you can build WezTerm without
Wayland support by changing the `build` invocation:
```bash
cargo build --release --no-default-features
```
Building without X11 is not supported.