Skip to content

Commit

Permalink
Auto merge of #9069 - antrik:cargo_config-location, r=SimonSapin
Browse files Browse the repository at this point in the history
HACKING_QUICKSTART.md: Don't recommend creating .cargo/config in pare…

…nt directory

Recommend putting crate overrides directly in the servo/.cargo/config,
rather than in Servo's parent directory.

Overrides in the parent directory are unnecessary and confusing for
typical use cases.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9069)
<!-- Reviewable:end -->
  • Loading branch information
bors-servo committed Dec 25, 2015
2 parents 89ab368 + dac4056 commit c6d613f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions HACKING_QUICKSTART.md
Expand Up @@ -111,11 +111,11 @@ This is how my projects are laid out:

These are all git repositories.

To make it so that servo uses `~/my-projects/cocoa-rs/` and `~/my-projects/glutin/` , create a `~/my-projects/.cargo/config` file:
To make it so that servo uses `~/my-projects/cocoa-rs/` and `~/my-projects/glutin/` , create a `~/my-projects/servo/.cargo/config` file:

``` shell
$ cat ~/my-projects/.cargo/config
paths = ['glutin', 'cocoa-rs']
$ cat ~/my-projects/servo/.cargo/config
paths = ['../glutin', '../cocoa-rs']
```

This will tell any cargo project to not use the online version of the dependency, but your local clone.
Expand Down

0 comments on commit c6d613f

Please sign in to comment.