thunk
thunk copied to clipboard
Build Rust program to support Windows XP, Vista and more
Currently, only `hello world` sample is used for testing. More samples for test are needed! This needs refactoring the repo structure. There is a todo list: - [ ] Tokio...
为什么不能默认是中文,ShanBie
win10 系统 rust 1.75 构建sample时错误: error: unsupported output in build script of `sample v0.1.0 (C:\Users\**\Downloads\thunk-master\sample)`: `cargo::rustc-link-search=C:\Users\**\scoop\apps\vc-ltl5\current\TargetPlatform/5.1.2600.0/lib/Win32` 解决方法: 把所有cargo::替换成cargo:后正常
I set this in.cargo/config file: [target.i686-pc-windows-msvc] rustflags = ["-C", "target-feature=+crt-static"] But after compiling with thunk, running in windows XP still prompts me that dll is missing
and distribute thunk with ``` cargo install thunk-cli ```
# enable thunk-rs when compiling for x86_64 windows [target.x86_64-pc-windows-msvc.build-dependencies] thunk-rs = { version = "0.3.3", features = ["win7"] } [target.i686-pc-windows-msvc.build-dependencies] thunk-rs = { version = "0.3.3", features = ["win7"] }...
` [target.'cfg(target_os = "windows")'.build-dependencies] thunk-rs = { version = "0.3.5", features = ["win7", "lib", "subsystem_windows"] } ` 编译结果: warning: [email protected]: VC-LTL5 Enabled: 5.2.3790.0(x64) warning: [email protected]: YY-Thunks Enabled: WinXP(x64) warning: [email protected]:...