# gpui: Fix manifest path for cross-compilation \(\#62525\) · gitcafe/zed

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

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

Visibility: public

Requested revision: c24e309d935d83f672dff1df64b2331749bcb44c

Requested commit: c24e309d935d83f672dff1df64b2331749bcb44c

Commit: c24e309d935d83f672dff1df64b2331749bcb44c

Tree: c9d2c08499d28bde3872565814ee11f4e87c90ba

Author: zooeywm

Committer: GitHub

## Message

```
gpui: Fix manifest path for cross-compilation (#62525)

# Objective

Fixes #62522

`cargo xwin` fails to find the GPUI Windows manifest because `llvm-rc`
resolves the path from the resource directory.

## Solution

Reference the manifest relative to `gpui.rc` and explicitly add the
resource directory to the include paths. This keeps both native Windows
and xwin builds working.

## Testing

- Tested with `cargo xwin clippy --target x86_64-pc-windows-msvc`

## Self-Review Checklist

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Performance impact has been considered and is acceptable

---

Release Notes:

- N/A
- [GPUI] N/A

---------

Co-authored-by: Chris Biscardi <chris@christopherbiscardi.com>
```

## Parents

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

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