mirror of
https://github.com/EasyTier/EasyTier.git
synced 2025-09-26 20:51:17 +08:00
11 lines
250 B
Rust
11 lines
250 B
Rust
fn main() {
|
|
// enable thunk-rs when target os is windows and arch is x86_64 or i686
|
|
#[cfg(target_os = "windows")]
|
|
if !std::env::var("TARGET")
|
|
.unwrap_or_default()
|
|
.contains("aarch64")
|
|
{
|
|
thunk::thunk();
|
|
}
|
|
}
|