- Jan 11, 2018
- Jan 09, 2018
-
-
bors authored
Minor fixes for CloudABI ARM support In the initial set of fixes for CloudABI, it looks like support for 32-bit ARM was left out, even though it is supported for C/C++. While there, fix up `c_char` for ARM64, which currently has the wrong sign.
-
Ed Schouten authored
-
Ed Schouten authored
On ARM64, it is supposed to be unsigned char: $ aarch64-unknown-cloudabi-cc -dM -E - < /dev/null | grep __CHAR_UNSIGNED__ #define __CHAR_UNSIGNED__ 1
-
- Jan 08, 2018
-
-
bors authored
Add time_t for CloudABI. Even though this data type is not used by libstd in any platform independent code, one of the unit tests in src/libstd/time/mod.rs refers to it. Instead of making that unit test more complicated, simply add time_t, matching the type used by the C library.
-
bors authored
android: add statvfs flags (ST_*) Signed-off-by:
Igor Gnatenko <i.gnatenko.brain@gmail.com>
-
- Jan 07, 2018
-
-
Igor Gnatenko authored
Signed-off-by:
Igor Gnatenko <i.gnatenko.brain@gmail.com>
-
Ed Schouten authored
Even though this data type is not used by libstd in any platform independent code, one of the unit tests in src/libstd/time/mod.rs refers to it. Instead of making that unit test more complicated, simply add time_t, matching the type used by the C library.
-
- Jan 04, 2018
-
-
bors authored
Bump to 0.2.35 Bump for EAI_* names.
-
Josh Driver authored
-
- Jan 02, 2018
-
-
bors authored
Add _SC_NPROCESSORS_ONLN for CloudABI. This constant is not used by the C library, which is why I didn't add it initially. It is, however, used by libtest to determine the parallelism for the execution of tests.
-
Ed Schouten authored
This constant is not used by the C library, which is why I didn't add it initially. It is, however, used by libtest to determine the parallelism for the execution of tests.
-
- Dec 28, 2017
-
-
bors authored
Add support for CloudABI. CloudABI is a sandboxed UNIX-like runtime environment, based on the principle of capability-based security. As CloudABI is intended to be cross-platform, the system call layer is specified here: https://github.com/NuxiNL/cloudabi/blob/master/cloudabi.txt From these definitions, we automatically generate C and Rust bindings. The latter is published on crates.io: https://crates.io/crates/cloudabi My goal is to implement libstd for CloudABI in such a way that it uses the C library as little as possible; only in places where it would ease interfacing with C code (e.g., thread creation). In places where constants in the C library are directly based on the CloudABI specification (e.g., errnos), use the constants provided by the cloudabi crate.
-
Ed Schouten authored
These are now used by libstd's termination.rs.
-
Ed Schouten authored
-
- Dec 27, 2017
-
-
Ed Schouten authored
-
bors authored
Add some constant and struct on macOS file: `net/bpf.h`
-
Ed Schouten authored
-
Ed Schouten authored
CloudABI is a sandboxed UNIX-like runtime environment, based on the principle of capability-based security. As CloudABI is intended to be cross-platform, the system call layer is specified here: https://github.com/NuxiNL/cloudabi/blob/master/cloudabi.txt From these definitions, we automatically generate C and Rust bindings. The latter is published on crates.io: https://crates.io/crates/cloudabi My goal is to implement libstd for CloudABI in such a way that it uses the C library as little as possible; only in places where it would ease interfacing with C code (e.g., thread creation). In places where constants in the C library are directly based on the CloudABI specification (e.g., errnos), use the constants provided by the cloudabi crate.
-
- Dec 26, 2017
- Dec 19, 2017
-
-
bors authored
Add SECCOMP_MODE_* flags on Linux
-
Jörg Thalheim authored
-
- Dec 17, 2017
-
-
bors authored
Change deprecated constants into hidden constants rustc, an important libc consumer, has a policy that they can't use any crates with deprecated symbols. Replace libc's two deprecated symbols with hidden symbols instead.
-
Alan Somers authored
rustc, an important libc consumer, has a policy that they can't use any crates with deprecated symbols. Replace libc's two deprecated symbols with hidden symbols instead.
-
bors authored
Add additional aarch64 linux syscalls I've noticed some syscalls are missing for aarch64 linux, I've added those I needed. The numbers have been taken from a raspberry pi 3. Adds: - `SYS_fcntl` - `SYS_lseek` - `SYS_newfstatat` - `SYS_fstat` - `SYS_mmap` - `SYS_open` - `SYS_stat` - `SYS_lstat` - `SYS_pipe` - `SYS_getdents` - `SYS_poll`
-
kpcyrd authored
-
bors authored
POSIX mqueue bindings for the BSDs Note that OpenBSD and OSX do not support POSIX message queues.
-
- Dec 16, 2017
-
-
Alan Somers authored
Note that OpenBSD and OSX do not support POSIX message queues.
-
kpcyrd authored
-
- Dec 14, 2017