Fix build issues after deps update

This commit is contained in:
Caelan Sayler
2025-03-03 08:10:55 +00:00
committed by Caelan
parent 83a9efc4b2
commit fd328ae5dd
3 changed files with 3 additions and 3 deletions

View File

@@ -22,7 +22,6 @@ pub fn setup_logging(process_name: &str, file: Option<&PathBuf>, console: bool,
file_rotate::suffix::AppendCount::new(1), // keep 1 old log file
file_rotate::ContentLimit::Bytes(1 * 1024 * 1024), // 1MB max log file size
file_rotate::compression::Compression::None,
#[cfg(unix)]
None,
);
loggers.push(WriteLogger::new(file_level, get_config(Some(process_name)), writer));

View File

@@ -81,7 +81,7 @@ type IsWow64Process2Fn = unsafe extern "system" fn(
hProcess: windows::Win32::Foundation::HANDLE,
pprocessmachine: *mut windows::Win32::System::SystemInformation::IMAGE_FILE_MACHINE,
pnativemachine: *mut windows::Win32::System::SystemInformation::IMAGE_FILE_MACHINE,
) -> windows::Win32::Foundation::BOOL;
) -> windows::core::BOOL;
#[cfg(target_os = "windows")]
unsafe fn is_wow64_process2(handle: windows::Win32::Foundation::HANDLE) -> anyhow::Result<u16> {

View File

@@ -1,5 +1,6 @@
use windows::core::BOOL;
use windows::Win32::System::LibraryLoader::LOAD_LIBRARY_SEARCH_SYSTEM32;
use windows::Win32::{Foundation::BOOL, System::LibraryLoader::LOAD_LIBRARY_FLAGS};
use windows::Win32::System::LibraryLoader::LOAD_LIBRARY_FLAGS;
#[cfg(target_os = "windows")]
type SetDefaultDllDirectoriesFn = unsafe extern "system" fn(DirectoryFlags: u32) -> BOOL;