# gpui_linux: Improve error message when X11 and Wayland feature flags are missing \(\#58685\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/dae3e574e49baff324d8e708ce4de1b407717568)

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

Visibility: public

Requested revision: dae3e574e49baff324d8e708ce4de1b407717568

Requested commit: dae3e574e49baff324d8e708ce4de1b407717568

Commit: dae3e574e49baff324d8e708ce4de1b407717568

Tree: eed0402c8e582026177c834b4c093354e8c9bc8b

Author: Zax71

Committer: GitHub

## Message

```
gpui_linux: Improve error message when X11 and Wayland feature flags are missing (#58685)

Improves `gpui_linux` error messages for missing feature flags.
Currently, you'd need to look at the source & Rust backtrace to diagnose
the error shown when the feature flags are missing.

Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable


Release Notes:

- Improve `gpui_linux` error messages for missing feature flags

---------

Co-authored-by: Tom Houlé <tom@tomhoule.com>
```

## Parents

- [9de0590a8197cf0725509810435b6ed5bae18432](https://git.cafe/gitcafe/zed/commit/9de0590a8197cf0725509810435b6ed5bae18432?format=markdown)

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