rust-embedded / rust-embedded/heapless
feature: initialize with const
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Rust
- Stars
- 2k
- Forks
- 253
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 1
Description
When creating a vec, is it possible to use const fn so that the values can be prepared from the beginning?
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
The issue concerns creating a vec with const fn so its values can be prepared from the beginning. Start by locating the vec initialization API and checking its current support for compile-time use. Done means a supported const initialization path with tests demonstrating that values can be prepared before runtime.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- embedded-iot
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100