fix warnings on windows (#344)
This commit is contained in:
parent
12c470a707
commit
1ecef5598e
@ -5,7 +5,6 @@ use rustc_version::{version_meta, Channel};
|
||||
#[allow(clippy::ptr_arg, clippy::upper_case_acronyms)]
|
||||
fn main() {
|
||||
#[cfg(target_os = "windows")]
|
||||
#[allow(clippy::ptr_arg, clippy::upper_case_acronyms)]
|
||||
windows::build!(
|
||||
Windows::Win32::Foundation::{HANDLE, HWND, BOOL, PSTR, CloseHandle, NTSTATUS},
|
||||
Windows::Win32::System::{
|
||||
|
@ -25,6 +25,10 @@ use frida_gum::{
|
||||
stalker::{StalkerOutput, Transformer},
|
||||
CpuContext, ModuleDetails, ModuleMap,
|
||||
};
|
||||
|
||||
#[cfg(unix)]
|
||||
use frida_gum::CpuContext;
|
||||
|
||||
use frida_gum::{Gum, Module, PageProtection};
|
||||
#[cfg(target_arch = "aarch64")]
|
||||
use num_traits::cast::FromPrimitive;
|
||||
|
Loading…
x
Reference in New Issue
Block a user