rust/src/libstd/sys_common
Alex Crichton 5c3fe111d4 std: Avoid use of libc in portable modules
This commit removes usage of the `libc` crate in "portable" modules like
those at the top level and `sys_common`. Instead common types like `*mut
u8` or `u32` are used instead of `*mut c_void` or `c_int` as well as
switching to platform-specific functions like `sys::strlen` instead of
`libc::strlen`.
2017-11-09 07:56:44 -08:00
..
gnu std: Avoid use of libc in portable modules 2017-11-09 07:56:44 -08:00
at_exit_imp.rs std: Move sys_common to libstd/sys_common 2016-11-01 17:08:24 +00:00
backtrace.rs std: Avoid use of libc in portable modules 2017-11-09 07:56:44 -08:00
condvar.rs std: Move sys_common to libstd/sys_common 2016-11-01 17:08:24 +00:00
io.rs Add Read::initializer. 2017-06-20 20:26:22 -07:00
memchr.rs Add <*const T>::align_offset and use it in memchr 2017-09-17 21:30:58 +02:00
mod.rs Auto merge of #43972 - TobiasSchaffner:std_clean, r=alexcrichton 2017-09-14 03:02:58 +00:00
mutex.rs std: Move sys_common to libstd/sys_common 2016-11-01 17:08:24 +00:00
net.rs replace libc::res_init with res_init_if_glibc_before_2_26 2017-10-05 17:53:10 -04:00
poison.rs docs improvement std::sync::{PoisonError, TryLockError} 2017-09-23 18:28:08 -04:00
remutex.rs Refactor to use debug_struct in several Debug impls 2017-10-09 20:09:08 +02:00
rwlock.rs std: Move sys_common to libstd/sys_common 2016-11-01 17:08:24 +00:00
thread.rs std: Avoid use of libc in portable modules 2017-11-09 07:56:44 -08:00
thread_info.rs use field init shorthand EVERYWHERE 2017-08-15 15:29:17 -07:00
thread_local.rs use field init shorthand EVERYWHERE 2017-08-15 15:29:17 -07:00
util.rs Move default stack min size to thread implementations 2017-09-13 10:56:41 +02:00
wtf8.rs std: Respect formatting flags for str-like OsStr 2017-08-13 21:07:03 -07:00