mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-08 11:01:35 +00:00
fix compile errors
This commit is contained in:
1 parent
91e83c8b90
commit
23b0dafd6b
2 files changed
+1
-4
No files matched your search
@@ -1,10 +1,7 @@
|
||||
use anyhow::bail;
|
||||
use crate::anyhow_result::AnyhowResult;
|
||||
use log::info;
|
||||
use log::warn;
|
||||
use std::fs;
|
||||
use std::path::Path;
|
||||
use std::path::PathBuf;
|
||||
|
||||
pub fn safe_delete_temp_file<P: AsRef<Path>>(file_path: P) {
|
||||
// NB: We should be using a tempdir, but to make absolutely certain we don't overflow the disk...
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
use anyhow::anyhow;
|
||||
use crate::anyhow_result::AnyhowResult;
|
||||
use std::sync::{Arc, RwLock, PoisonError, RwLockWriteGuard};
|
||||
use std::sync::{Arc, RwLock};
|
||||
use std::time::{Instant, Duration};
|
||||
|
||||
/// Sometimes I need to kill a thread from somewhere else. This is a mechanism
|
||||
|
||||
Reference in new issue
Block a user