https://pantsbuild.org/ logo
w

witty-crayon-22786

03/27/2017, 7:00 PM
@rough-minister-58256 : one approach might be to replace:
Copy code
pub struct Snapshots {
  ..
  temp_dir: TempDir,
  next_temp_id: atomic::AtomicUsize,
}
with
Copy code
pub struct Snapshots {
  ..
  temp_generator: Mutex<(TempDir, usize)>
}