Meziu
d5d3be4a0d
Merge pull request #12 from ian-h-chamberlain/clippy-libc-update
...
Update to upstream libc and fix some clippy lints
2 years ago
Ian Chamberlain
8fc5973eb2
Update to upstream libc and fix some clippy lints
...
I still didn't add any `# Safety` docs which was the last clippy lint
here.
2 years ago
Meziu
080f7af4f2
Merge pull request #11 from AzureMarker/feature/sysconf
...
Implement sysconf to support std threads
3 years ago
AzureMarker
2a14bddf0d
Implement sysconf to support std threads
...
std checks sysconf for the page size if it gets an error from
pthread_attr_setstacksize (it then rounds the stack size up to a
multiple of the page size).
3 years ago
Meziu
ac276169d9
Merge pull request #10 from ian-h-chamberlain/gettime/monotonic
...
Impl `clock_gettime` for `CLOCK_MONOTONIC`
3 years ago
Andrea Ciliberti
736cf33c01
Use Meziu/libc
3 years ago
Ian Chamberlain
7abc5e5366
Fix some accuracy / retval issues with monotonic
3 years ago
Ian Chamberlain
95d9518068
Implement CLOCK_MONOTONIC
3 years ago
Ian Chamberlain
b01d256883
Update getrandom impl based on ctru error codes
3 years ago
Ian Chamberlain
e6a19e9067
Match more typical getrandom semantics
3 years ago
Ian Chamberlain
fe0e7d7639
Add getrandom impl using ctru_sys bindings
3 years ago
AzureMarker
cc1956b2c6
Update libc to the upstream
...
Our PR merged.
3 years ago
Meziu
ce703e7c06
Merge pull request #6 from ian-h-chamberlain/clock_gettime
3 years ago
Ian Chamberlain
f9db3a9101
Update src/lib.rs
...
Co-authored-by: Mark Drobnak <mark.drobnak@gmail.com>
3 years ago
Ian Chamberlain
a8b7c6804a
Add clock_gettime implementation
3 years ago
Meziu
aed3d64acc
Merge pull request #5 from AzureMarker/fix/realpath-null-case
3 years ago
AzureMarker
f4443c85e1
Handle the null case in realpath
...
The destination pointer might be null, in which case we are supposed to
malloc some memory for it:
https://man7.org/linux/man-pages/man3/realpath.3.html
3 years ago
Meziu
a554d6d9e4
Merge pull request #4 from AzureMarker/master
...
Add init method to force linking, and other changes
3 years ago
AzureMarker
3220e60578
Add init method to force linking
3 years ago
AzureMarker
9069f56e05
Mark the crate as no_std
3 years ago
AzureMarker
dbfa80f963
Removed staticlib crate type
...
It's not needed, and could lead to issues (std might be duplicated if
linked to other Rust code).
3 years ago
AzureMarker
409c7a0a17
Format via rustfmt
3 years ago
Meziu
6bb2dbde74
Merge pull request #3 from AzureMarker/master
...
Allow crate to be used as a dependency (add lib crate type)
3 years ago
AzureMarker
818f3e6a2b
Allow crate to be used as a dependency (add lib crate type)
3 years ago
Meziu
ce40b8a03e
Merge pull request #1 from AzureMarker/master
3 years ago
AzureMarker
fe0aa74386
Use Git dependency instead of path
...
This makes using the crate much easier.
3 years ago
Meziu
c2bc1caa39
Maybe i should look at the directory before pushing
3 years ago
Meziu
61ca63b140
Wrong README removed
3 years ago
Meziu
48e3a6b75b
Working condition
3 years ago