about summary refs log tree commit diff
path: root/src/libstd/sys/redox/mod.rs
AgeCommit message (Collapse)AuthorLines
2019-03-21Unify OsString/OsStr for byte-based implementationsJethro Beekman-1/+2
2019-02-28libstd => 2018Taiki Endo-6/+6
2019-02-13Add vectored read and write supportSteven Fackler-5/+6
This functionality has lived for a while in the tokio ecosystem, where it can improve performance by minimizing copies.
2018-12-25Remove licensesMark Rousskov-10/+0
2018-11-15Rollup merge of #55182 - jD91mZM2:rebased, r=alexcrichtonPietro Albini-0/+23
Redox: Update to new changes These are all cherry-picked from our fork: - Remove the `env:` scheme - Update `execve` system call to `fexec` - Interpret shebangs: these are no longer handled by the kernel, which like usual tries to be as minimal as possible
2018-11-11std: Delete the `alloc_system` crateAlex Crichton-0/+2
This commit deletes the `alloc_system` crate from the standard distribution. This unstable crate is no longer needed in the modern stable global allocator world, but rather its functionality is folded directly into the standard library. The standard library was already the only stable location to access this crate, and as a result this should not affect any stable code.
2018-10-18Update to new system calls and enviromental variablesJeremy Soller-0/+23
2018-08-29Replace usages of 'bad_style' with 'nonstandard_style'.Corey Farwell-1/+1
`bad_style` is being deprecated in favor of `nonstandard_style`: - https://github.com/rust-lang/rust/issues/41646
2017-11-09std: Avoid use of `libc` in portable modulesAlex Crichton-0/+1
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-08std: Move the `cmath` module into the `sys` moduleAlex Crichton-0/+1
This commit moves the `f32::cmath` and `f64::cmath` modules into the `sys` module. Note that these are not publicly exported modules, simply implementation details. These modules are already platform-specific with shims on MSVC and this is mostly just a reflection of that reality. This should also help cut down on `#[cfg]` traffic if platforms are brought on which don't directly support these functions.
2017-11-08std: Remove `rand` crate and moduleAlex Crichton-0/+2
This commit removes the `rand` crate from the standard library facade as well as the `__rand` module in the standard library. Neither of these were used in any meaningful way in the standard library itself. The only need for randomness in libstd is to initialize the thread-local keys of a `HashMap`, and that unconditionally used `OsRng` defined in the standard library anyway. The cruft of the `rand` crate and the extra `rand` support in the standard library makes libstd slightly more difficult to port to new platforms, namely WebAssembly which doesn't have any randomness at all (without interfacing with JS). The purpose of this commit is to clarify and streamline randomness in libstd, focusing on how it's only required in one location, hashmap seeds. Note that the `rand` crate out of tree has almost always been a drop-in replacement for the `rand` crate in-tree, so any usage (accidental or purposeful) of the crate in-tree should switch to the `rand` crate on crates.io. This then also has the further benefit of avoiding duplication (mostly) between the two crates!
2017-07-12Update mod.rsJeremy Soller-3/+1
2017-07-12Update mod.rsJeremy Soller-17/+1
2017-02-08Fix compilation on RedoxJeremy Soller-1/+1
2016-12-22Remove start functions, use newlib instead of openlibm + rallocJeremy Soller-1/+0
2016-12-20Fix building without backtraceJeremy Soller-0/+1
2016-12-20Move rt into sys::rt, fix tidyJeremy Soller-1/+1
2016-12-15WIP: Cross-compilation for Redox targetJeremy Soller-2/+2
2016-11-28Commit to fix make tidyJeremy Soller-0/+10
2016-11-28Switch to using syscall crate directly - without importJeremy Soller-19/+20
2016-11-03Update to new sys requirementsJeremy Soller-0/+6
2016-10-28Remove unsafe libc layerJeremy Soller-36/+3
2016-10-27Add redox systemJeremy Soller-0/+111