Commit 73845c6
committed
Disable incremental compilation in CI (#1322)
There's no reason to use Rust's incremental compilation in CI. According
to matklad's blog post on [fast Rust builds][fastbuilds]:
> CI builds often are closer to from-scratch builds, as changes are
> typically much bigger than from a local edit-compile cycle. For
> from-scratch builds, incremental adds an extra dependency-tracking
> overhead. It also significantly increases the amount of IO and the
> size of ./target, which make caching less effective.
[fastbuilds]: https://matklad.github.io/2021/09/04/fast-rust-builds.html
(cherry picked from commit f7651a3)
Signed-off-by: Oliver Gould <ver@buoyant.io>1 parent af26feb commit 73845c6
3 files changed
+18
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
7 | 13 | | |
8 | 14 | | |
9 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
8 | 14 | | |
9 | 15 | | |
10 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
6 | 12 | | |
7 | 13 | | |
8 | 14 | | |
| |||
0 commit comments