axodotdev / axodotdev/cargo-dist
Handle Linux build dependencies
- Dominant language
- Rust
- Stars
- 2.1k
- Forks
- 149
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 32
Description
From https://blog.axo.dev/2023/02/cargo-dist:
> So minidump-debugger is based on [egui](https://github.com/emilk/egui), and for whatever reason egui builds on linux [require you to install a ton of dev packages](https://github.com/emilk/egui#demo) (on Windows and macOS it Just Works so I always forget this). [...] Welp, automating and understanding those kinds of build deps are another feature for me to add to cargo-dist one day, but for now I'll rely on the fact that the scripts are checked in so [I can make bespoke hand-edits to the scripts](https://github.com/rust-minidump/minidump-debugger/commit/24208a6c4c0965b7d77134dc58ddd6bb0283bb58) if need be (being able to do this is an intentional feature, although obviously suboptimal because now we're getting back some dependency on the CI's precise behaviour).
I don't think there's already a tracking issue for this, so I made one. It would be a great boon to humanity to solve this problem. Please do.
Contributor guide
Research direction
The issue names cargo-dist and bespoke Linux build scripts but no repository file or test. Start by tracing how cargo-dist generates and runs Linux build scripts, then define which egui-style development dependencies can be detected or installed automatically. Done means Linux builds no longer require manual dependency edits while preserving the existing script customization path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux, rust
- Domain
- build-system, devops, operating-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100