cargo fmt failing in Windows with MAX_PATH problem. can you add manifest with longPathAware?
Open
Nobody has claimed this yet.
E-needs-mcve
O-windows
- Dominant language
- Rust
- Stars
- 7k
- Forks
- 1.1k
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 24
Description
longPathAware manifest item is documented here.
https://learn.microsoft.com/en-us/windows/win32/sbscs/application-manifests#longPathAware
and embedding manifest resource in build, can be with embed-resource crate. https://crates.io/crates/embed-resource
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
Review the rustfmt build setup and the Windows application-manifest documentation linked in the issue; check how the manifest resource could be embedded with embed-resource. Verify completion by building and running cargo fmt on Windows with paths beyond MAX_PATH, confirming that the formatter no longer fails.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- operating-systems, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100