| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-07-27 | mv std libs to library/ | mark | -2499/+0 | |
| 2020-07-24 | Rollup merge of #72954 - hermitcore:rwlock, r=dtolnay | Manish Goregaokar | -40/+139 | |
| revise RwLock for HermitCore - current version is derived from the wasm implementation - increasing the readability of `Condvar` - simplify the interface to the libos | ||||
| 2020-07-12 | adjust remaining targets | Ralf Jung | -7/+7 | |
| 2020-06-26 | remove some compiler warnings | Stefan Lankes | -3/+1 | |
| 2020-06-26 | reorder crates to pass the format check | Stefan Lankes | -1/+1 | |
| 2020-06-26 | minor changes to pass the format check | Stefan Lankes | -6/+2 | |
| 2020-06-26 | revise RwLock, which is derived from the wasm implementation | Stefan Lankes | -38/+143 | |
| - increasing the readability of `Condvar` - simplify the interface to the libos HermitCore | ||||
| 2020-06-19 | Remove old commented code | Nathan West | -2/+0 | |
| 2020-06-19 | Fixed missing `mut` | Nathan West | -1/+1 | |
| 2020-06-19 | Converted all platform-specific stdin/stdout/stderr implementations to io traits | Nathan West | -20/+17 | |
| 2020-06-16 | Use `Ipv4Addr::from<[u8; 4]>` when possible | Lzu Tao | -8/+2 | |
| 2020-06-15 | remove obsolete , to pass the format check | Stefan Lankes | -2/+2 | |
| 2020-06-15 | add comment about the usage of Arc | Stefan Lankes | -0/+3 | |
| 2020-06-15 | use Ipv6Addr::from to build the IPv6 address | Stefan Lankes | -24/+2 | |
| 2020-06-15 | Revert "simplify conversion to IpAddr::V6" | Stefan Lankes | -2/+18 | |
| This reverts commit d221ffc68e543f4a38efcc2bd34f52145f89003b. | ||||
| 2020-06-15 | Revert "changes to pass the format check" | Stefan Lankes | -4/+10 | |
| This reverts commit 9d596b50f15dfff47fa2272ee63cdc9aeb9307fa. | ||||
| 2020-06-15 | remove obsolete line | Stefan Lankes | -1/+0 | |
| 2020-06-15 | changes to pass the format check | Stefan Lankes | -10/+4 | |
| 2020-06-14 | simplify conversion to IpAddr::V6 | Stefan Lankes | -18/+2 | |
| 2020-06-14 | remove unused function | Stefan Lankes | -6/+0 | |
| 2020-06-13 | add TcpListener support for HermitCore | Stefan Lankes | -46/+111 | |
| Add basic support of TcpListerner for HermitCore. In addition, revise TcpStream to support peer_addr. | ||||
| 2020-06-10 | Migrate to numeric associated consts | Lzu Tao | -1/+1 | |
| 2020-05-18 | Auto merge of #72289 - RalfJung:abort_internal, r=Mark-Simulacrum | bors | -3/+5 | |
| abort_internal is safe `sys::abort_internal` is stably exposed as a safe function. Forward that assumption "inwards" to the `sys` module by making the function itself safe, too. This corresponds to what https://github.com/rust-lang/rust/pull/72204 did for the intrinsic. We should probably wait until that lands because some of the intrinsic calls in this PR might then need adjustments. | ||||
| 2020-05-18 | minor changes to pass the format check | Stefan Lankes | -3/+1 | |
| 2020-05-17 | use new interface to initialize Condvar | Stefan Lankes | -4/+4 | |
| HermitCore introduce a new interface to intialize conditional variables. Consequently, minor changes are required to support this interface. | ||||
| 2020-05-17 | abort_internal is safe | Ralf Jung | -3/+5 | |
| 2020-05-06 | Rollup merge of #71591 - hermitcore:thread_create, r=hanna-kruppe | Dylan DPC | -7/+6 | |
| use new interface to create threads on HermitCore - the new interface allows to define the stack size - increase the default stack size to 1 MByte | ||||
| 2020-04-27 | use nicer code style to define DEFAULT_MIN_STACK_SIZE | Stefan Lankes | -1/+1 | |
| 2020-04-26 | use new interface to create threads on HermitCore | Stefan Lankes | -7/+6 | |
| - the new interface allows to define the stack size | ||||
| 2020-04-26 | Update name | Steven Fackler | -9/+9 | |
| 2020-04-26 | Add Read/Write::can_read/write_vectored | Steven Fackler | -0/+43 | |
| When working with an arbitrary reader or writer, code that uses vectored operations may end up being slower than code that copies into a single buffer when the underlying reader or writer doesn't actually support vectored operations. These new methods allow you to ask the reader or witer up front if vectored operations are efficiently supported. Currently, you have to use some heuristics to guess by e.g. checking if the read or write only accessed the first buffer. Hyper is one concrete example of a library that has to do this dynamically: https://github.com/hyperium/hyper/blob/0eaf304644a396895a4ce1f0146e596640bb666a/src/proto/h1/io.rs#L582-L594 | ||||
| 2020-04-08 | Rollup merge of #70134 - hermitcore:osstrext, r=dtolnay | Dylan DPC | -0/+53 | |
| add basic support of OsStrExt for HermitCore - this patch increases the compatibility to other operating systems - in principle `ffi.rs` is derived from `src/libstd/sys/unix/ext/ffi.rs` | ||||
| 2020-04-06 | Rollup merge of #70808 - hermitcore:tls, r=dtolnay | Mazdak Farrokhzad | -44/+48 | |
| Simplify dtor registration for HermitCore by using a list of destructors The implementation is similar to the macOS version and doesn't depend on additional OS support | ||||
| 2020-04-06 | Rollup merge of #70553 - hermitcore:abi, r=dtolnay | Mazdak Farrokhzad | -33/+3 | |
| move OS constants to platform crate to reduce platform specific constants move O_RDONLY etc. and the definition of thread priorities to hermit-abi | ||||
| 2020-04-05 | Simplify dtor registration for HermitCore by using a list of destructors | Stefan Lankes | -44/+48 | |
| The implementation is similiar to macOS solution doesn't depend on additional OS support | ||||
| 2020-04-05 | Stop importing integer modules in libstd | Linus Färnstrand | -1/+0 | |
| 2020-04-04 | Merge branch 'master' into abi | Stefan Lankes | -87/+156 | |
| 2020-04-04 | Auto merge of #70136 - hermitcore:network_tcp, r=dtolnay | bors | -87/+156 | |
| add basic IP support in HermitCore - add initial version to support sockets - use TcpStream as test case - HermitCore uses smoltcp as IP stack for pure Rust applications - further functionalities (e.g. UDP support) will be added step by step - in principle, the current PR is a revision of #69404 | ||||
| 2020-04-04 | Merge branch 'master' into abi | Stefan Lankes | -16/+9 | |
| 2020-04-03 | Delete unnecessary stub stack overflow handler for hermit. | Vytautas Astrauskas | -12/+0 | |
| 2020-04-02 | Remove unnecessary intermediate pointer cast in Thread::new. | Vytautas Astrauskas | -1/+1 | |
| 2020-04-01 | In Thread::new, add a comment that a panic could cause a memory leak. | Vytautas Astrauskas | -1/+1 | |
| 2020-03-31 | Use Box::into_raw instead of ManuallyDrop in Thread::new. | Vytautas Astrauskas | -4/+4 | |
| 2020-03-31 | Inline start_thread into its callers. | Vytautas Astrauskas | -3/+6 | |
| 2020-03-31 | Fix double-free and undefined behaviour in libstd::syn::unix::Thread::new. | Vytautas Astrauskas | -6/+8 | |
| 2020-03-30 | move the definition of thread priorities to hermit-abi | Stefan Lankes | -24/+1 | |
| 2020-03-30 | reorder imports to pass the format check | Stefan Lankes | -1/+1 | |
| 2020-03-30 | minor changes to pass the format check | Stefan Lankes | -2/+1 | |
| 2020-03-30 | move OS constants to platform crate | Stefan Lankes | -8/+2 | |
| 2020-03-21 | Rollup merge of #69955 - alexcrichton:stderr-infallible, r=sfackler | Dylan DPC | -3/+3 | |
| Fix abort-on-eprintln during process shutdown This commit fixes an issue where if `eprintln!` is used in a TLS destructor it can accidentally cause the process to abort. TLS destructors are executed after `main` returns on the main thread, and at this point we've also deinitialized global `Lazy` values like those which store the `Stderr` and `Stdout` internals. This means that despite handling TLS not being accessible in `eprintln!`, we will fail due to not being able to call `stderr()`. This means that we'll double-panic quickly because panicking also attempt to write to stderr. The fix here is to reimplement the global stderr handle to avoid the need for destruction. This avoids the need for `Lazy` as well as the hidden panic inside of the `stderr` function. Overall this should improve the robustness of printing errors and/or panics in weird situations, since the `stderr` accessor should be infallible in more situations. | ||||
