rust-embedded / rust-embedded/meta-rust-bin

Install tools in SDK

Open
#35 2 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
BitBake
Stars
124
Forks
92
Avg merge
6h 54m
Merged PRs (30d)
2

Description

Right now neither rustc nor cargo are being installed as part of the SDK build - this would probably be quite useful, especially for cross-compiling projects with mixed C/Rust environments.

I made the dumb-simple effort of trying to add BBCLASSEXTEND = "nativesdk" to the recipes, but there were errors from that, so opening this issue to track some more research into the reasons.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by examining the Rust recipes and the SDK build path, focusing on why adding BBCLASSEXTEND = "nativesdk" produces errors. Research how rustc and cargo should be exposed for cross-compiling mixed C/Rust projects, then verify that both tools are installed and usable in the generated SDK.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
build-system, embedded-iot
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.