Skip to content

Commit 394bf67

Browse files
committed
only use fs2 on windows, linux, and macos without miri
1 parent dd659cb commit 394bf67

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/config.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -758,6 +758,7 @@ impl Deref for RunningConfig {
758758
}
759759
}
760760

761+
#[cfg(all(not(miri), any(windows, target_os = "linux", target_os = "macos")))]
761762
impl Drop for RunningConfig {
762763
fn drop(&mut self) {
763764
use fs2::FileExt;

0 commit comments

Comments
 (0)