Crates.io | iswow64 |
lib.rs | iswow64 |
version | 0.1.0 |
source | src |
created_at | 2017-10-05 13:15:49.194944 |
updated_at | 2017-10-05 13:15:49.194944 |
description | Determines whether the current process is running under WOW64. |
homepage | |
repository | https://github.com/WLBF/iswow64 |
max_upload_size | |
id | 34492 |
size | 2,459 |
Determines whether the current process is running under WOW64.
extern crate iswow64;
let result = iswow64::iswow64();
println!("{:?}", result);
#[cfg(target_arch = "x86")]
assert_eq!(result.unwrap(), true);
#[cfg(target_arch = "x86_64")]
assert_eq!(result.unwrap(), false);