Skip to content

Commit

Permalink
Auto merge of #27014 - servo:paulrouget-patch-2, r=Manishearth
Browse files Browse the repository at this point in the history
Update HACKING_QUICKSTART.md

Fix #27012
  • Loading branch information
bors-servo committed Jun 22, 2020
2 parents 3f999ce + 18f35c7 commit 99d409f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/HACKING_QUICKSTART.md
Expand Up @@ -119,14 +119,14 @@ Both information can be found using, in this example, `/mach cargo pkgid mozjs_s
If the output is in the format `https://github.com/servo/mozjs#mozjs_sys:0.0.0`, you are dealing with a git dependency and you will have to edit the `~/my-projects/servo/Cargo.toml` file and add at the bottom:

``` toml
[replace]
[patch]
"https://github.com/servo/mozjs#mozjs_sys:0.0.0" = { path = '../mozjs' }
```

If the output is in the format `https://github.com/rust-lang/crates.io-index#mozjs_sys#0.0.0`, you are dealing with a crates.io dependency and you will have to edit the `~/my-projects/servo/Cargo.toml` in the following way:

``` toml
[replace]
[patch]
"mozjs_sys:0.0.0" = { path = '../mozjs' }
```

Expand Down

0 comments on commit 99d409f

Please sign in to comment.