- Jun 27, 2018
-
-
- Jun 24, 2018
-
-
Jeremy Soller authored
-
Jeremy Soller authored
-
- Jun 23, 2018
-
- Jun 22, 2018
-
-
jD91mZM2 authored
Transmuting from an immutable to a mutable reference is undefined behavior in Rust, with the exception of UnsafeCell which tells the optimizer to not draw too many conclusions. Sadly UnsafeCell::get cannot yet be used in statics (see https://github.com/rust-lang/rust/issues/51718), so this works around that by making the statics into functions and making C macros to call those.
- Jun 21, 2018
-
- Jun 20, 2018
-
-
Jasen Borisov authored
Remove the broken Rust functions and instead provide C macros in a `include/bits` header. The C macros were taken from musl.
-
Jeremy Soller authored
-
Jeremy Soller authored
-
Jeremy Soller authored
-
- Jun 14, 2018
-
-
Jasen Borisov authored
-
stratact authored
-
- May 24, 2018
-
-
stratact authored
-
stratact authored
-
stratact authored
-
Ian Douglas Scott authored
The original implementation is modified from the `Cstr` method, but the complexity there exists because it is trying to convert to the DST `Cstr`.
-
Ian Douglas Scott authored
This is technically more correct, and matches the pointer methods in the standard library.
-
stratact authored
-
stratact authored
-
- May 23, 2018
- May 15, 2018
-
-
Matija Skala authored
-
- May 13, 2018
- May 12, 2018
-
-
Alex Lyon authored
Because we were previously converting the bytes in the format string into Rust's char type and then printing that using the format machinery, byte values that were not valid single-byte UTF-8 characters failed to print correctly. I found this while trying to implement qsort() because the output of my test program was mysteriously incorrect despite it working when I used glibc.
-
Moses Miller authored
-
Moses Miller authored
-
- May 11, 2018
-
-
Moses Miller authored
-
Moses Miller authored
-
Alex Lyon authored
-
Alex Lyon authored
-
Moses Miller authored
-