mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Auto merge of #13469 - JanZerebecki:document-cargo-update-precise, r=Wafflespeanut
Document how to cargo-update to a specific version <!-- Please describe your changes on the following line: --> Closes #13310 --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #13310 . <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require tests because they only change documentation <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13469) <!-- Reviewable:end -->
This commit is contained in:
commit
2c1d6e7eaf
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ name = "stb_image"
|
|||
source = "git+https://github.com/servo/rust-stb-image#f4c5380cd586bfe16326e05e2518aa044397894b"
|
||||
```
|
||||
|
||||
This file should not be edited by hand. In a normal Rust project, to update the git revision, you would use `cargo update -p stb_image`, but in Servo, use `./mach cargo-update -p stb_image`.
|
||||
This file should not be edited by hand. In a normal Rust project, to update the git revision, you would use `cargo update -p stb_image`, but in Servo, use `./mach cargo-update -p stb_image`. Other arguments to cargo are also understood, e.g. use --precise '0.2.3' to update that crate to version 0.2.3.
|
||||
|
||||
See [Cargo's documentation about Cargo.toml and Cargo.lock files](http://doc.crates.io/guide.html#cargotoml-vs-cargolock).
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue