axodotdev / axodotdev/cargo-dist
Target-specific include
- Dominant language
- Rust
- Stars
- 2.1k
- Forks
- 149
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 32
Description
Is it possible to configure cargo dist to include certain files in the windows archive but not in the Linux archive when both Windows and Linux targets are built?
As far as I can see, if I use the `include` field, it will apply to both archives. How can I make it archive/target specific?
Contributor guide
Research direction
Start by reading the cargo-dist configuration handling for the include field and the archive generation path for Windows and Linux targets. Determine how target-specific file selection should be represented, then verify that each archive contains only its configured files and that the behavior is covered by relevant tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- release
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100