-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
C-API-requestCategory: API requestCategory: API requestE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Milestone
Description
I'm just getting started with embedded programming, and found that compiling the standard library using rust-analyzer with -Zbuild-std fails because of this line.
I'm not entirely sure, but it seems like this is entirely valid code, and that the problem lies with libc missing definitions for SIGABRT (and other signal handler #defines).
As far as I can tell, these are defined in newlib's sys/signal.h header, so perhaps the solution could be as simple as adding these to libc's newlib module? I can put up a PR if you think that's the way to go?
My target triple is riscv32imc-esp-espidf.
This would resolve the following issues:
esp-rs/esp-idf-svc#366
rust-lang/rust-analyzer#16552
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
C-API-requestCategory: API requestCategory: API requestE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.