mirror of
https://mirror.suhoan.cn/https://github.com/EasyTier/EasyTier.git
synced 2025-12-12 04:37:23 +08:00
add thunk-rs to support win7 (#812)
* add thunk-rs to support win7 --------- Co-authored-by: loecomm <loecom@qq.com>
This commit is contained in:
7
easytier-web/build.rs
Normal file
7
easytier-web/build.rs
Normal file
@@ -0,0 +1,7 @@
|
||||
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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user