[windows-gnu]: allow dynamic crt use
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 119k
- Forks
- 16.1k
- PR merge metrics
- PR metrics pending
Description
windows-gnullvm has support of dynamic crt which is controlled by crt-static target feature
after 1.85.0 update in msys2 crt-static is forced to true (while it's still controllable by RUSTFLAGS though) to prevent confusions as gnullvm compiler can link libunwind.dll dynamically
edit: fixed typo
edit(2025.05.25): we changed setting crt-static so it's actually static for gnullvm targets
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with compiler/rustc_target/src/spec/base/windows_gnullvm.rs and the crt-static target feature described in the issue. Review the current Windows GNU and gnullvm configuration alongside the referenced MSYS2 change; done means the intended dynamic CRT behavior for windows-gnu is supported without regressing the stated gnullvm static behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100