mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-09-02 09:09:17 +00:00
9 lines
290 B
Rust
9 lines
290 B
Rust
fn main() {
|
|
let target_os = std::env::var("CARGO_CFG_TARGET_OS").unwrap_or_default();
|
|
let target_arch = std::env::var("CARGO_CFG_TARGET_ARCH").unwrap_or_default();
|
|
|
|
if target_os == "windows" && (target_arch == "x86" || target_arch == "x86_64") {
|
|
thunk::thunk();
|
|
}
|
|
}
|