From dac4056d60c459784c6471af1a3afa30210b792e Mon Sep 17 00:00:00 2001 From: Olaf Buddenhagen Date: Fri, 25 Dec 2015 20:50:45 +0100 Subject: [PATCH] HACKING_QUICKSTART.md: Don't recommend creating .cargo/config in parent 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. --- HACKING_QUICKSTART.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/HACKING_QUICKSTART.md b/HACKING_QUICKSTART.md index ee71606b33c..5a5abb6deb5 100644 --- a/HACKING_QUICKSTART.md +++ b/HACKING_QUICKSTART.md @@ -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.