| Crates.io | thunk-cli |
| lib.rs | thunk-cli |
| version | 0.3.3 |
| created_at | 2025-04-19 10:00:08.659837+00 |
| updated_at | 2025-04-19 10:10:23.773287+00 |
| description | Thunk the Rust program to support Windows XP, Vista and more! |
| homepage | |
| repository | https://github.com/felixmaker/thunk |
| max_upload_size | |
| id | 1640524 |
| size | 24,382 |
Thunk the Rust program to support old Windows platforms!
Download VC-LTL5 and YY-Thunks Binary, unzip them and add environment variable:
| Binary | Environment Variable |
|---|---|
| VC-LTL-XXX-Binary.7z | VC_LTL |
| YY-Thunks-XXX-Binary.zip | YY_THUNKS |
Then add Thunk to run path.
cargo install thunk-cli
cargo new build_for_xp
cd build_for_xp
thunk --os xp --arch x86 -- --release
cargo new build_for_xp
cd build_for_xp
thunk --os xp --arch x86 --lib -- --release
Use the following command to show help:
thunk.exe --help
Note: In order to distinguish the program build by Thunk, Thunk builds the release in ./target/*_build.