thunk-cli

Crates.iothunk-cli
lib.rsthunk-cli
version0.3.3
created_at2025-04-19 10:00:08.659837+00
updated_at2025-04-19 10:10:23.773287+00
descriptionThunk the Rust program to support Windows XP, Vista and more!
homepage
repositoryhttps://github.com/felixmaker/thunk
max_upload_size
id1640524
size24,382
(felixmaker)

documentation

https://docs.rs/thunk-rs

README

Thunk-cli

Thunk the Rust program to support old Windows platforms!

Preparation

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.

Install Thunk

cargo install thunk-cli

Sample 1. Build for Windows XP

cargo new build_for_xp
cd build_for_xp
thunk --os xp --arch x86 -- --release

Sample 2. Build a shared library for Windows XP

cargo new build_for_xp
cd build_for_xp
thunk --os xp --arch x86 --lib -- --release

Show help

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.

Commit count: 47

cargo fmt