You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Build a new incr comp session dir from scratch every time
Rather than copying the old incr comp dir and then modifying it. This
saves a copy/hardlink for files that are modified. And it removes the
need for accurate work product tracking to avoid accumulating cruft,
which is non-trivial. We don't accurately track the pre-LTO bitcode
files for ThinLTO for example.
"hard linking files in the incremental compilation cache failed. copying files instead. consider moving the cache directory to a file system which supports hard linking in session dir `{$path}`"
175
-
)]
176
-
pub(crate)structHardLinkFailed<'a>{
177
-
pubpath:&'aPath,
178
-
}
179
-
180
-
#[derive(Diagnostic)]
181
-
#[diag("failed to delete partly initialized session dir `{$path}`: {$err}")]
182
-
pub(crate)structDeletePartial<'a>{
183
-
pubpath:&'aPath,
184
-
puberr: std::io::Error,
185
-
}
186
-
187
172
#[derive(Diagnostic)]
188
173
#[diag("did not finalize incremental compilation session directory `{$path}`: {$err}")]
189
174
#[help("the next build will not be able to reuse work from this compilation")]
0 commit comments