Skip to content

Commit 29ffc35

Browse files
committed
Make check_liveness cache to disk unconditionally
1 parent 70d86e3 commit 29ffc35

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

compiler/rustc_middle/src/queries.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1218,7 +1218,7 @@ rustc_queries! {
12181218
query check_liveness(key: LocalDefId) -> &'tcx rustc_index::bit_set::DenseBitSet<abi::FieldIdx> {
12191219
arena_cache
12201220
desc { "checking liveness of variables in `{}`", tcx.def_path_str(key.to_def_id()) }
1221-
cache_on_disk_if { tcx.is_typeck_child(key.to_def_id()) }
1221+
cache_on_disk_if { true }
12221222
}
12231223

12241224
/// Return the live symbols in the crate for dead code check.

0 commit comments

Comments
 (0)