rust-embedded / rust-embedded/meta-rust-bin
Use output of `cargo metadata` to install binaries
Nobody has claimed this yet.
- Dominant language
- BitBake
- Stars
- 124
- Forks
- 92
- Avg merge
- 6h 54m
- Merged PRs (30d)
- 2
Description
Right now binaries are found and installed with the extremely simple heuristic of looking for executable files in the output target directory.
Using the output of cargo metadata (which provides very nice, detailed information about generated libraries, binaries, and more) it would be possible to deterministically install binaries from a package.
Contributor guide
No contributing guide indexed for this repository
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 in classes/cargo.bbclass at the linked executable-file heuristic, then inspect the output of cargo metadata for the package information it provides. Replace heuristic binary discovery with deterministic installation based on that metadata, and verify that generated binaries are installed from the package correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- build-system, embedded-iot
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100