Wildan M
30ccb7d337
Fix include conflict in strtold
2026-04-18 12:49:02 +07:00
Peter Limkilde Svendsen
f28cb80507
Replace static mut in seed48()
2026-04-11 16:07:48 +02:00
Peter Limkilde Svendsen
55f9c611b2
Fix most rustdoc warnings
2026-04-02 00:43:20 +02:00
auronandace
afd9cad0c3
move stdlib bits to cbindgen
2026-03-31 08:31:26 +01:00
auronandace
b516113722
minor cleanup
2026-03-19 13:03:16 +00:00
auronandace
2b52312227
update rand dependencies to latest
2026-03-14 15:38:45 +00:00
auronandace
367bb2ee11
remove unneeded casts and conversions in rand48
2026-03-11 08:53:10 +00:00
auronandace
b44bf78793
stdlib and stdio header cleanup
2026-02-28 19:01:06 +00:00
auronandace
1c1ec91167
take into account x86 c_long
2026-02-27 12:21:54 +00:00
auronandace
ebc1410fa5
stdlib header cleanup
2026-02-27 11:56:45 +00:00
Jeremy Soller
24ea34a03e
Merge branch 'fix-aligned_alloc' into 'master'
...
fix: return EINVAL when `alignment` of `aligned_alloc` is 0
Closes #258
See merge request redox-os/relibc!968
2026-02-24 08:10:24 -07:00
auronandace
47b23ae546
apply precedence clippy lint
2026-02-20 11:27:43 +00:00
auronandace
c3f3e051e1
add unused-unsafe lint
2026-02-08 15:39:48 +00:00
auronandace
50cd1ce1b0
add unpredictable_function_pointer_comparisons lint
2026-02-07 19:38:07 +00:00
Marsman
2e4db0d130
fix: return EINVAL when alignment is 0
2026-02-07 10:55:39 +00:00
Wildan M
f15322453b
Convert all println to log or todo
2026-01-25 05:27:38 +07:00
sourceturner
defd2ce7c3
Deny deny-unsafe_op_in_unsafe_fn on the crate level
2026-01-21 00:41:57 +01:00
auronandace
06971ff4bf
stdlib header cleanup
2026-01-20 16:43:51 +00:00
Anhad Singh
81e6d4116a
fix(redox/build): missing unsafe blocks
...
This change was made, commited, pushed and tested entirely on Redox :^)
Signed-off-by: Anhad Singh <andypython@protonmail.com >
2026-01-19 08:42:41 +00:00
sourceturner
59fb13ee2c
Use unsafe blocks in stdlib.h implementation
2026-01-18 21:10:34 +01:00
Jeremy Soller
b833e44293
Revert "Remove bits/stdlib"
...
This reverts commit 8867ba80df .
2026-01-15 18:40:23 -07:00
Jeremy Soller
40c9c14ea8
Revert "Convert strtold to Rust"
...
This reverts commit 08485648f6 .
2026-01-15 18:31:47 -07:00
Wildan M
8867ba80df
Remove bits/stdlib
2025-12-28 19:43:54 +07:00
Wildan M
08485648f6
Convert strtold to Rust
2025-12-25 16:11:36 +07:00
Wildan M
8e16c9c80c
Fix getsubopt and add test
2025-11-28 06:59:51 -08:00
Jeremy Soller
0844e6fc90
WIP: use upper fd table
2025-11-15 07:55:37 -07:00
Jeremy Soller
ced734c162
Add RawCell::unsafe_set
2025-10-04 07:50:16 -06:00
Jeremy Soller
82084440ad
Support nightly-2025-10-03
2025-10-03 21:51:10 -06:00
Jacob Lorentzon
9c5f11fbc8
Add Out<T> wrapper
2025-09-21 14:36:12 +02:00
Jeremy Soller
5673575354
Revert "Merge branch 'rustifying' into 'master'"
...
This reverts merge request !663
2025-07-06 12:54:39 -06:00
David DA SILVA
7fd3a8d698
Rustify some functions (following TODO)
2025-06-25 08:39:01 -06:00
Jeremy Soller
d194554fdc
Temporarily use insertion sort for qsort
2025-05-06 13:52:35 -06:00
Jeremy Soller
72d2b1137c
Implement quick_exit and at_quick_exit
2025-04-11 18:09:44 -06:00
Jeremy Soller
d9a28156ce
Disable at_quick_exit
2025-04-11 16:25:12 -06:00
bjorn3
8650ac293e
Fix building on targets with unsigned c_char
2025-03-30 16:35:29 +02:00
Anhad Singh
0449c35e52
chore: fix formatting
...
Signed-off-by: Anhad Singh <andypython@protonmail.com >
2024-12-31 01:23:51 +11:00
Anhad Singh
5eeb59dad2
feat(rand48): rwlock for global params
...
Signed-off-by: Anhad Singh <andypython@protonmail.com >
2024-12-31 01:23:20 +11:00
Josh Megnauth
90f934c769
Exit should return never (!)
...
`_Exit`, `exit`, and related functions should return `!` because they
don't return. This also signals to cbindgen that it should emit
`[[noreturn]]` for those functions.
2024-11-23 03:33:00 -05:00
Jeremy Soller
7b2e315c17
Merge branch 'cbindgen-use-attributes' into 'master'
...
Emit C attributes via cbindgen
See merge request redox-os/relibc!548
2024-11-17 16:15:07 +00:00
Josh Megnauth
5348273ccc
Emit C attributes via cbindgen
2024-11-17 16:15:07 +00:00
Peter Limkilde Svendsen
c440c61e58
Avoid unnecessary intrinsic in calloc
2024-11-09 17:35:09 +01:00
Peter Limkilde Svendsen
890be6fc02
Add docs for stdlib.h, add stubs for missing functions
2024-11-08 14:45:26 +00:00
Peter Limkilde Svendsen
35d7a0ac3f
Add docs to rand48 functions
2024-10-29 21:22:27 +01:00
Andrey Turkin
a4122753e6
Initial RISC-V64 support
2024-10-11 06:44:54 +03:00
Jeremy Soller
ef22cf9dfa
Implement mkdtemp
2024-10-09 08:58:47 -06:00
4lDO2
8b8b00da01
Use unsigned return values in read()-like Pal fns.
...
Returning a negative number of bytes makes absolutely no sense, besides
the "-1 and errno" pattern, which is now converted to Result<_, Errno>.
2024-09-27 10:39:26 +02:00
4lDO2
313b32c815
Switch almost all of Pal to Rusty error handling.
2024-09-27 10:19:44 +02:00
4lDO2
4b687c25d2
Convert more Pal methods to Result.
2024-09-26 16:24:01 +02:00
4lDO2
6e5959b3fa
Convert a bunch of c_int to Result<(), Errno>.
2024-09-26 16:21:34 +02:00
4lDO2
c0e7af5289
Backwards-compatibly rewrite getdents to use special syscall.
2024-09-11 23:32:19 +02:00