Skip to content

Commit 5b36d64

Browse files
committed
remove vestigial BuildConfig flags
1 parent 1a0da80 commit 5b36d64

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

src/cargo/core/compiler/build_config.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,6 @@ pub struct BuildConfig {
4848
pub future_incompat_report: bool,
4949
/// Which kinds of build timings to output (empty if none).
5050
pub timing_outputs: Vec<TimingOutput>,
51-
/// Use checksums rather than mtimes to determine if a crate is fresh.
52-
pub checksum_freshness: bool,
5351
}
5452

5553
fn default_parallelism() -> CargoResult<u32> {
@@ -122,7 +120,6 @@ impl BuildConfig {
122120
export_dir: None,
123121
future_incompat_report: false,
124122
timing_outputs: Vec::new(),
125-
checksum_freshness: false,
126123
})
127124
}
128125

src/cargo/util/command_prelude.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -759,7 +759,6 @@ Run `{cmd}` to see possible targets."
759759
build_config.build_plan = self.flag("build-plan");
760760
build_config.unit_graph = self.flag("unit-graph");
761761
build_config.future_incompat_report = self.flag("future-incompat-report");
762-
build_config.checksum_freshness = self.flag("checksum-freshness");
763762

764763
if self._contains("timings") {
765764
for timing_output in self._values_of("timings") {
@@ -794,10 +793,6 @@ Run `{cmd}` to see possible targets."
794793
gctx.cli_unstable()
795794
.fail_if_stable_opt("--unit-graph", 8002)?;
796795
}
797-
if build_config.checksum_freshness {
798-
gctx.cli_unstable()
799-
.fail_if_stable_opt("--checksum-freshness", 14136)?;
800-
}
801796

802797
let opts = CompileOptions {
803798
build_config,

0 commit comments

Comments
 (0)