Files

13 lines
289 B
Rust
Raw Permalink Normal View History

fn main() {
2025-04-25 22:27:36 +08:00
// enable thunk-rs when target os is windows and arch is x86_64 or i686
#[cfg(target_os = "windows")]
2025-05-18 16:45:39 +08:00
if !std::env::var("TARGET")
.unwrap_or_default()
.contains("aarch64")
{
2025-04-25 22:27:36 +08:00
thunk::thunk();
}
tauri_build::build();
}