"Thread 'main' panicked" build.rs quit compiling with rp_hal
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- rust
- Domain
- embedded-iot
Research direction
Start by reproducing the cortex-m 0.7.7 build for the rp2040 (cortexv6-m) target under Apache Nuttx, then inspect build.rs line 25 where the static library copy panics. Compare the failure with issue #271 and check whether the absence of semihosting is relevant. Done means identifying the cause and documenting or fixing the build failure for this target.
Written by the indexing model from the issue text.
Description
I am a rust newbie trying to compile a rust program for target rp2040 (cortexv6-m), and trying to build the cortex-m package 0.7.7 crashes with a panic while trying to copy the static library (build.rs:25). I am using rp_hal because I wish to be able to communicate with rp2040 hardware from my app. The app is building as an app under Apache Nuttx, if that makes any difference.
The error seems very very similar to #271 and my issue may be because I don't use the semihosting module, but my target won't have anything to semihost with.
I can provide more details if needed... can you help?
- Dominant language
- Rust
- Stars
- 1k
- Forks
- 201
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 3
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
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.
More from rust-embedded/cortex-m
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
rust-embedded/cortex-m#651 · 5 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
rust-embedded/cortex-m#637 ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
rust-embedded/cortex-m#511 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 52/100
rust-embedded/cortex-m#694 · 1 comment ·
-
Enabling LOBOpen
Difficulty 4/5 3-5 days Newbie friendliness 52/100
rust-embedded/cortex-m#691 · 1 comment ·
All issues in rust-embedded/cortex-m
Similar issues
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
zcashlabs/thus-spoke-zakura#153 ·
Maintainers usually reply within 1 day
-
app bug windows-os
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
Maintainers usually reply within 1 day
-
editor good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
funnyboy-roks/inq#54 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
[Bug]: Bedrock request metadata forwarding does not work for /embeddingsPossibly taken A pull request linked to this issue is open or already merged. Openbug llm translation
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day