Skip to content

Comments

Build windows msvc version using win7 target#102

Open
roblabla wants to merge 2 commits intonevdelap:improvementsfrom
roblabla:win7-ci
Open

Build windows msvc version using win7 target#102
roblabla wants to merge 2 commits intonevdelap:improvementsfrom
roblabla:win7-ci

Conversation

@roblabla
Copy link

@roblabla roblabla commented Jan 17, 2026

The win7 target allows retaining compatibility with older versions of windows up to Windows 7. Unfortunately, it is currently a tier 3 target, meaning that to use it, one must use the nightly-only -Zbuild-std flag from cargo. Thankfully, it's
possible to trick a stable toolchain into allowing nightly-only flag using some shenanigans (setting RUSTC_BOOTSTRAP to 1).

Fixes #97

image

@roblabla roblabla force-pushed the win7-ci branch 3 times, most recently from 8159840 to 1f45bc6 Compare January 17, 2026 11:46
The win7 target allows retaining compatibility with older versions of
windows up to Windows 7. Unfortunately, it is currently a tier 3 target,
meaning that to use it, one must use the nightly-only -Zbuild-std flag
from cargo.
@roblabla roblabla changed the title Use build-std Build windows msvc version using win7 target Jan 17, 2026
@roblabla roblabla marked this pull request as ready for review January 17, 2026 12:14
@roblabla roblabla mentioned this pull request Jan 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant