Skip to content

Commit

Permalink
Auto merge of #8931 - tshepang:patch-1, r=Eh2406
Browse files Browse the repository at this point in the history
faq: small fixes
  • Loading branch information
bors committed Dec 2, 2020
2 parents 3d5447e + d453c2c commit ef3696c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/doc/src/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ sometimes rebuild code when you're not expecting it!
We've long [wanted to provide better diagnostics about
this](https://github.com/rust-lang/cargo/issues/2904) but unfortunately haven't
been able to make progress on that issue in quite some time. In the meantime,
however, you can debug a rebuild at least a little by by setting the `CARGO_LOG`
however, you can debug a rebuild at least a little by setting the `CARGO_LOG`
environment variable:

```sh
Expand All @@ -233,7 +233,7 @@ Some issues we've seen historically which can cause crates to get rebuilt are:

* Two successive Cargo builds may differ in the set of features enabled for some
dependencies. For example if the first build command builds the whole
workspace and the second command builds only one crate, this may causes a
workspace and the second command builds only one crate, this may cause a
dependency on crates.io to have a different set of features enabled, causing
it and everything that depends on it to get rebuilt. There's unfortunately not
really a great fix for this, although if possible it's best to have the set of
Expand All @@ -243,7 +243,7 @@ Some issues we've seen historically which can cause crates to get rebuilt are:
* Some filesystems exhibit unusual behavior around timestamps. Cargo primarily
uses timestamps on files to govern whether rebuilding needs to happen, but if
you're using a nonstandard filesystem it may be affecting the timestamps
somehow (e.g. truncating them, causing them to drift, etc). In this scenario
somehow (e.g. truncating them, causing them to drift, etc). In this scenario,
feel free to open an issue and we can see if we can accomodate the filesystem
somehow.

Expand Down

0 comments on commit ef3696c

Please sign in to comment.