Crates.io | oldwin-platform-yy-thunks-x86_64-win8 |
lib.rs | oldwin-platform-yy-thunks-x86_64-win8 |
version | 0.1.0+1.1.2-Beta7 |
source | src |
created_at | 2024-09-11 08:59:38.051733 |
updated_at | 2024-09-11 08:59:38.051733 |
description | Part of the OldWin library for Windows 8 |
homepage | |
repository | https://github.com/honsunrise/oldwin |
max_upload_size | |
id | 1371705 |
size | 771,979 |
OldWin OldWin makes compatibility with Old Windows easier! The crate relies heavily on YY-Thunks and VC-LTL5 to solve the problem of missing APIs on older systems and API-SETs in the import table.
build-dependencies
and modify build.rs
.Include OldWin in your Cargo.toml
file:
vc-ltl5 is dependent on yy-thunks, so if you use vc-ltl5 yy-thunks will be automatically added.
[dependencies]
# use yy-thunks and vc-ltl5 on Windows 7
oldwin = { version = "0.1.0", features = ["win7", "vc-ltl5"] }
Modify your project cargo configuration to use the {x86, x86_64}-win7-windows-msvc toolchain.
rustup component add rust-src
rustup target add i686-win7-windows-msvc
rustup target add x86_64-win7-windows-msvc
[unstable]
build-std = ["core", "alloc", "std", "proc_macro", "test"]
Build your project using the {i686, x86_64}-win7-windows-msvc toolchain.
Remember to use nightly toolchain.
cargo build --target i686-win7-windows-msvc -Zbuild-std
cargo build --target x86_64-win7-windows-msvc -Zbuild-std
Contributions of all kinds are welcome, including:
OldWin is released under the MIT License.