mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-15 15:55:15 +00:00
Gate Unix-only atomic test imports by platform
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
use craft_atomic::{atomic_write, atomic_write_with, or_plain_fsync, write_new, write_new_with};
|
||||
#[cfg(unix)]
|
||||
use craft_atomic::{atomic_write, write_new};
|
||||
use craft_atomic::{atomic_write_with, or_plain_fsync, write_new_with};
|
||||
use std::cell::Cell;
|
||||
use std::io::{self, Write};
|
||||
use std::path::{Path, PathBuf};
|
||||
|
||||
Reference in New Issue
Block a user