# gpui_linux: Suppress dead code warning on \`wake_sender\` \(\#60090\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 441de84a77e7b0c9306801497fbb1bf36630055e

Requested commit: 441de84a77e7b0c9306801497fbb1bf36630055e

Commit: 441de84a77e7b0c9306801497fbb1bf36630055e

Tree: 5f127307dad33f3da03180bd5180f82d569df444

Author: Marshall Bowers

Committer: GitHub

## Message

````
gpui_linux: Suppress dead code warning on `wake_sender` (#60090)

This PR adds a conditional `allow(dead_code)` to the `wake_sender` field
to fix this error when building Collab:

```
error: field `wake_sender` is never read
   --> crates/gpui_linux/src/linux/platform.rs:126:5
    |
116 | pub(crate) struct LinuxCommon {
    |                   ----------- field in this struct
...
126 |     wake_sender: Sender<()>,
    |     ^^^^^^^^^^^
    |
    = note: `-D dead-code` implied by `-D warnings`
    = help: to override `-D warnings` add `#[expect(dead_code)]` or `#[allow(dead_code)]`

error: could not compile `gpui_linux` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
```


https://github.com/zed-industries/zed/actions/runs/28374439219/job/84060893437

Release Notes:

- N/A
````

## Parents

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

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