Skip to content

docs: document Windows GNU target requirement - #388

Merged
Wenzel merged 2 commits into
intel:mainfrom
Wenzel:docs/windows-gnu-build-target
Sep 16, 2026
Merged

Wenzel merged 2 commits into
intel:mainfrom
Wenzel:docs/windows-gnu-build-target

Conversation

@Wenzel

@Wenzel Wenzel commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

Building/testing this crate on Windows requires the x86_64-pc-windows-gnu Rust target, not the MSVC host rustup defaults to. MSVC's link.exe can't consume the Windows link directives this crate's SIMICS build dependencies emit, so a default cargo build/test silently targets MSVC and fails to link (or, with cargo check/clippy, appears to work without proving a real build would). This was previously only discoverable via a comment in .github/workflows/ci.yml's build_windows job; add a short pointer to README.md and a brief setup section to CONTRIBUTING.md so it's obvious up front.

Building/testing this crate on Windows requires the x86_64-pc-windows-gnu
Rust target, not the MSVC host rustup defaults to. MSVC's link.exe can't
consume the raw Windows link directives this crate's SIMICS build
dependencies emit, so a default cargo build/test silently targets MSVC
and fails to link (or, with cargo check/clippy, appears to work without
proving a real build would). This was previously only discoverable via
a comment in .github/workflows/ci.yml's build_windows job; add a
compact note to README.md so it's obvious up front. Keep this out of
CONTRIBUTING.md -- it's a build requirement, not a contribution-process
note.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@Wenzel
Wenzel force-pushed the docs/windows-gnu-build-target branch from 2a4cc6a to 8ab6e85 Compare September 14, 2026 11:16
The README note was too specific for a project overview -- move the
detail into docs/src/setup/windows.md's Troubleshooting section, next
to the existing MinGW troubleshooting entry, since that's where anyone
actually working through Windows setup will look.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@Wenzel
Wenzel merged commit dc70e10 into intel:main Sep 16, 2026
22 checks passed
@Wenzel
Wenzel deleted the docs/windows-gnu-build-target branch September 16, 2026 14:12
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