mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-25 01:34:02 +00:00
Add note in README about rustc bug on macOS monterey
This commit is contained in:
parent
0e62ddbb65
commit
f0353d6aba
1 changed files with 8 additions and 0 deletions
|
@ -6,6 +6,14 @@ Welcome to Zed, a lightning-fast, collaborative code editor that makes your drea
|
|||
|
||||
## Development tips
|
||||
|
||||
### Compiling on macOS Monterey
|
||||
|
||||
The Zed server uses libcurl, which currently triggers [a bug](https://github.com/rust-lang/rust/issues/90342) in `rustc`. To work around this bug, export the following environment variable:
|
||||
|
||||
```
|
||||
export MACOSX_DEPLOYMENT_TARGET=10.7
|
||||
```
|
||||
|
||||
### Dump element JSON
|
||||
|
||||
If you trigger `cmd-shift-i`, Zed will copy a JSON representation of the current window contents to the clipboard. You can paste this in a tool like [DJSON](https://chrome.google.com/webstore/detail/djson-json-viewer-formatt/chaeijjekipecdajnijdldjjipaegdjc?hl=en) to navigate the state of on-screen elements in a structured way.
|
||||
|
|
Loading…
Reference in a new issue