rust-embedded / rust-embedded/cortex-m
New cortex-m-rt doesn't work with Cargo "rename-dependency" feature
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 1k
- Forks
- 202
- Avg merge
- 6d 2h
- Merged PRs (30d)
- 2
Description
In 2018 edition instead of extern crate cortex_m_rt as rt one would use Cargo rename-dependency:
[dependencies]
rt = {version = "0.6.2", package='cortex-m-rt'}
cortex_m_rt_macros, however, doesn't respect this and still generates code with extern crate cortex_m_rt.
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 the cortex_m_rt_macros code that generates the extern crate cortex_m_rt reference and reproduce the issue with the shown 2018-edition Cargo dependency rename. Done means generated code respects the renamed rt dependency, with coverage for the rename-dependency setup.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- embedded-iot
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100