Skip to content

Commit

Permalink
Add instruction for metal to Getting Started
Browse files Browse the repository at this point in the history
gpui requires "metal", but it's not installed on a new system. The fix comes from gfx-rs/gfx#2309 (comment)
  • Loading branch information
kevinbader authored Aug 25, 2024
1 parent 14f8d3a commit 369c2f3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crates/gpui/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ for Rust, designed to support a wide variety of applications.

## Getting Started

GPUI is still in active development as we work on the Zed code editor and isn't yet on crates.io. You'll also need to use the latest version of stable rust and be on macOS. Add the following to your Cargo.toml:
GPUI is still in active development as we work on the Zed code editor and isn't yet on crates.io. You'll also need to use the latest version of stable rust and be on macOS. If `xcrun metal` is _unable to find utility "metal"_, install `xcode` and run `sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer`.

Add the following to your Cargo.toml:

```toml
gpui = { git = "https://github.com/zed-industries/zed" }
Expand Down

0 comments on commit 369c2f3

Please sign in to comment.