Update curl to avoid setting MACOSX_DEPLOYMENT_TARGET on server

This commit is contained in:
Antonio Scandurra 2022-01-13 08:52:42 +01:00
parent 057dc62b90
commit 9422e27f97
2 changed files with 4 additions and 12 deletions

8
Cargo.lock generated
View file

@ -1326,9 +1326,9 @@ dependencies = [
[[package]]
name = "curl"
version = "0.4.38"
version = "0.4.42"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "003cb79c1c6d1c93344c7e1201bb51c2148f24ec2bd9c253709d6b2efb796515"
checksum = "7de97b894edd5b5bcceef8b78d7da9b75b1d2f2f9a910569d0bde3dd31d84939"
dependencies = [
"curl-sys",
"libc",
@ -1341,9 +1341,9 @@ dependencies = [
[[package]]
name = "curl-sys"
version = "0.4.44+curl-7.77.0"
version = "0.4.52+curl-7.81.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4b6d85e9322b193f117c966e79c2d6929ec08c02f339f950044aba12e20bbaf1"
checksum = "14b8c2d1023ea5fded5b7b892e4b8e95f70038a421126a056761a84246a28971"
dependencies = [
"cc",
"libc",

View file

@ -6,14 +6,6 @@ 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
```
### Testing against locally-running servers
Make sure you have `zed.dev` cloned as a sibling to this repo.