ci: disable incremental compilation
This is to avoid overhead. We are not preserving these files anyway.
@@ -58,6 +58,8 @@ jobs:
docker:
- image: quay.io/influxdb/rust:ci
environment:
+ # Disable incremental compilation to avoid overhead. We are not preserving these files anyway.
+ CARGO_INCREMENTAL: "0"
# Disable full debug symbol generation to speed up CI build
# "1" means line tables only, which is useful for panic tracebacks.
RUSTFLAGS: "-C debuginfo=1"
@@ -73,6 +75,8 @@ jobs:
docker:
- image: quay.io/influxdb/rust:ci
environment:
+ # Disable incremental compilation to avoid overhead. We are not preserving these files anyway.
+ CARGO_INCREMENTAL: "0"
# Disable full debug symbol generation to speed up CI build
# "1" means line tables only, which is useful for panic tracebacks.
RUSTFLAGS: "-C debuginfo=1"
@@ -88,6 +92,8 @@ jobs:
docker:
- image: quay.io/influxdb/rust:ci
environment:
+ # Disable incremental compilation to avoid overhead. We are not preserving these files anyway.
+ CARGO_INCREMENTAL: "0"
# Disable full debug symbol generation to speed up CI build
# "1" means line tables only, which is useful for panic tracebacks.
RUSTFLAGS: "-C debuginfo=1"
@@ -104,6 +110,8 @@ jobs:
- image: quay.io/influxdb/rust:ci
resource_class: xlarge # use of a smaller executor tends crashes on link
environment:
+ # Disable incremental compilation to avoid overhead. We are not preserving these files anyway.
+ CARGO_INCREMENTAL: "0"
# Disable full debug symbol generation to speed up CI build
# "1" means line tables only, which is useful for panic tracebacks.
RUSTFLAGS: "-C debuginfo=1"
@@ -121,6 +129,8 @@ jobs:
docker:
- image: quay.io/influxdb/rust:ci
environment:
+ # Disable incremental compilation to avoid overhead. We are not preserving these files anyway.
+ CARGO_INCREMENTAL: "0"
# Disable full debug symbol generation to speed up CI build
# "1" means line tables only, which is useful for panic tracebacks.
RUSTFLAGS: "-C debuginfo=1"
@@ -142,6 +152,8 @@ jobs:
- image: quay.io/influxdb/rust:ci
resource_class: xlarge # use of a smaller executor tends crashes on link
environment:
+ # Disable incremental compilation to avoid overhead. We are not preserving these files anyway.
+ CARGO_INCREMENTAL: "0"
# Disable full debug symbol generation to speed up CI build
# "1" means line tables only, which is useful for panic tracebacks.
RUSTFLAGS: "-C debuginfo=1"
@@ -198,6 +210,8 @@ jobs:
docker:
- image: quay.io/influxdb/rust:ci
environment:
+ # Disable incremental compilation to avoid overhead. We are not preserving these files anyway.
+ CARGO_INCREMENTAL: "0"
# Disable full debug symbol generation to speed up CI build
# "1" means line tables only, which is useful for panic tracebacks.
RUSTFLAGS: "-C debuginfo=1"
