Commit a831211
nuttx: add __errno() function declaration
Add missing __errno() function declaration for NuttX platform to enable
proper errno handling in Rust code. NuttX's libc provides __errno()
function which returns a pointer to the thread-local errno variable.
This change allows Rust programs running on NuttX to properly access and
manipulate errno values through the standard libc interface.
Fixes errno functionality for NuttX targets.
(backport <rust-lang#4687>)
(cherry picked from commit ffab35a)1 parent ce8144f commit a831211
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
566 | 566 | | |
567 | 567 | | |
568 | 568 | | |
| 569 | + | |
569 | 570 | | |
570 | 571 | | |
571 | 572 | | |
| |||
0 commit comments