6 releases (breaking)

new 0.10.0 Jul 3, 2024
0.9.0 May 22, 2024
0.8.0 May 1, 2024
0.7.0 Apr 19, 2024
0.5.0 Feb 8, 2024

#2 in #maelstrom

Download history 156/week @ 2024-03-25 50/week @ 2024-04-01 186/week @ 2024-04-15 16/week @ 2024-04-22 168/week @ 2024-04-29 20/week @ 2024-05-13 262/week @ 2024-05-20 34/week @ 2024-05-27 27/week @ 2024-06-03 34/week @ 2024-06-10 41/week @ 2024-06-17 29/week @ 2024-06-24

132 downloads per month
Used in 16 crates (7 directly)

MIT/Apache

52KB
1.5K SLoC

Maelstrom Linux Syscalls

This is a small library that is only intended to be used by the maelstrom-worker. It is its own library so it can be no_std and we can ensure that it doesn't take any undesired dependencies.

This library provides simple, non-allocating wrappers around the various Linux syscalls that we need to use. In some cases, the underlying syscalls aren't available on all architectures, so we emulate them as libc would.

This library is intended to be usable by maelsrom-worker-child, which is why it's no_std and doesn't allocate.

For more information, see the Maelstrom project on GitHub.


lib.rs:

Function wrappers for Linux syscalls.

Dependencies

~0.3–0.8MB
~20K SLoC