| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2017-09-10 | from_micros: Fix missing { | Romain Porte | -0/+1 | |
| 2017-09-09 | Auto merge of #44251 - kennytm:osx-backtrace, r=alexcrichton | bors | -21/+48 | |
| Add libbacktrace support for Apple platforms (resubmitted) Resubmitting #43422 rebased on the current master (cc @JohnColanduoni). I have added an additional commit to fallback to `dladdr`-based `resolve_symbol` if `libbacktrace` returns `None`, otherwise the stack trace will be full of `<unknown>` when you forget to pass the `-g` flag (actually it seems — at least on macOS — the `dladdr` symbol is more accurate than the `libbacktrace` one). | ||||
| 2017-09-09 | from_micros: Added unstable annotation | Romain Porte | -0/+1 | |
| 2017-09-09 | from_micros: Inlined return for consistency | Romain Porte | -4/+1 | |
| 2017-09-09 | Auto merge of #44438 - Xaeroxe:clamp, r=Mark-Simulacrum | bors | -89/+0 | |
| Revert clamp Revert clamp per https://github.com/rust-lang/rust/issues/44095#issuecomment-328218316 while we take time to assess the potential backwards compatibility damage done by it. | ||||
| 2017-09-08 | Add feature gate to doctests. | J. Cliff Dyer | -0/+4 | |
| 2017-09-08 | Revert "Add clamp functions" | Jacob Kiesel | -40/+0 | |
| This reverts commit c589f867f89d4e6e48c6602aed8e878208d4822f. | ||||
| 2017-09-08 | Revert "Add NAN examples" | Jacob Kiesel | -2/+0 | |
| This reverts commit f74c5d2e18e50c24de2cc1192bf2088cdaa61916. | ||||
| 2017-09-08 | Revert "Fix f32 examples." | Jacob Kiesel | -4/+2 | |
| This reverts commit 61f20f8df02e53ee60dc1719ce0e502eecebf8b4. | ||||
| 2017-09-08 | Revert "Fix f64 examples" | Jacob Kiesel | -4/+2 | |
| This reverts commit 576426a05a1a6cb33eece7082d7341b7c6bb5277. | ||||
| 2017-09-08 | Revert "Fix documentation and formatting." | Jacob Kiesel | -8/+2 | |
| This reverts commit 2e34ff767113c6a15c5862b0646ca9ad7ffd81b1. | ||||
| 2017-09-08 | Revert "Add panic unit tests" | Jacob Kiesel | -37/+0 | |
| This reverts commit b762283e57ff71f6763effb9cfc7fc0c7967b6b0. | ||||
| 2017-09-08 | Add Duration::from_micros | Romain Porte | -0/+23 | |
| 2017-09-08 | Move the stack size value for L4Re to the min_stack_size function | Sebastian Humenda | -4/+5 | |
| 2017-09-08 | Re-enable networking module fo rL4Re | Sebastian Humenda | -7/+450 | |
| As suggested in the discussion of PR #43972, std should provide a uniform API to all platforms. Since there's no networking on L4Re, this now is a module in `sys::net` providing types and functions/methods returning an error for each action. | ||||
| 2017-09-08 | Add modifications needed for L4re in libstd | Tobias Schaffner | -10/+45 | |
| This commit adds the needed modifications to compile the std crate for the L4 Runtime environment (L4Re). A target for the L4Re was introduced in commit: c151220a84e40b65e45308cc0f3bbea4466d3acf In many aspects implementations for linux also apply for the L4Re microkernel. Two uncommon characteristics had to be resolved: * L4Re has no network funktionality * L4Re has a maximum stacksize of 1Mb for threads Co-authored-by: Sebastian Humenda <sebastian.humenda@tu-dresden.de> | ||||
| 2017-09-08 | Match c_char definitions and enable signal reset for L4Re | Sebastian Humenda | -13/+19 | |
| * Match definition of c_char in os/raw.rs with the libc definition Due to historic reasons, os/raw.rs redefines types for c_char from libc, but these didn't match. Now they do :). * Enable signal reset on exec for L4Re L4Re has full signal emulation and hence it needs to reset the signal set of the child with sigemptyset. However, gid and uid should *not* be set. | ||||
| 2017-09-07 | Close doc examples and trim whitespace. | J. Cliff Dyer | -1/+5 | |
| 2017-09-07 | std::thread::LocalKey: Document limitation with initializers | Joshua Liebow-Feeser | -0/+4 | |
| 2017-09-07 | IP address convenience constructors | J. Cliff Dyer | -0/+68 | |
| 2017-09-07 | Clarify the behavior of UDP sockets wrt. multiple addresses in `connect` | Tobias Bucher | -16/+9 | |
| 2017-09-07 | Disable the 80-year-difference test on 32-bit-time_t platforms. | kennytm | -3/+6 | |
| 2017-09-07 | Fix incorrect test in `time::tests::system_time_math`. | kennytm | -1/+1 | |
| 2017-09-07 | Properly detect overflow in Instance +/- Duration. | kennytm | -17/+36 | |
| Avoid unchecked cast from `u64` to `i64`. Use `try_into()` for checked cast. (On Unix, cast to `time_t` instead of `i64`.) | ||||
| 2017-09-07 | Auto merge of #43931 - eddyb:const-local-key, r=alexcrichton | bors | -3/+13 | |
| Make the LocalKey facade of thread_local! inlineable cross-crate. Fixes (almost*) #25088 by changing the `LocalKey` `static` `thread_local!` generates to a `const`. This can be done because a `LocalKey` value holds no actual TLS data, only function pointers to get at said data, and it could even be made `Copy` without any negative consequences. The recent stabilization of rvalue promotion to `'static` allows doing this without changing the API. r? @alexcrichton *almost because we can't yet inline `__getit` because it breaks on MSVC, see https://github.com/rust-lang/rust/pull/43931#issuecomment-323534214 | ||||
| 2017-09-06 | std: Fix a segfault on OSX with backtraces | Alex Crichton | -1/+2 | |
| Apparently `dladdr` can succeed but still give you NULL pointers! Closes #44379 | ||||
| 2017-09-06 | Rollup merge of #44315 - kallisti5:epoch-doc-example-squashed, r=GuillaumeGomez | Mark Simulacrum | -0/+11 | |
| std/time: Give an example to get UNIX_EPOCH in seconds | ||||
| 2017-09-06 | Rollup merge of #44097 - Xaeroxe:clamp, r=burntsushi | Mark Simulacrum | -0/+89 | |
| Add clamp functions Implementation of clamp feature: Tracking issue: https://github.com/rust-lang/rust/issues/44095 RFC: https://github.com/rust-lang/rfcs/pull/1961 | ||||
| 2017-09-06 | Implement named threads on Windows | Joshua Sheard | -7/+17 | |
| 2017-09-05 | add feature gate doc_masked and tests | QuietMisdreavus | -0/+1 | |
| 2017-09-05 | new attribute #[doc(masked)] to hide internal crates from std docs | QuietMisdreavus | -1/+6 | |
| 2017-09-05 | Avoid weird or_insert_with example | Jon Gjengset | -3/+1 | |
| 2017-09-05 | Add or_default to Entry APIs | Jon Gjengset | -0/+29 | |
| 2017-09-04 | Add panic unit tests | Jacob Kiesel | -0/+37 | |
| 2017-09-04 | std/time: Give an example to get UNIX_EPOCH in seconds | Alexander von Gluck IV | -0/+11 | |
| 2017-09-04 | Make the LocalKey facade of thread_local! inlineable cross-crate. | Eduard-Mihai Burtescu | -3/+13 | |
| 2017-09-03 | Marked `Entry::replace` as unstable. | Jeroen Bollen | -1/+2 | |
| 2017-09-03 | Added a way to retrieve the key out of a HashMap when it's being replaced. | Jeroen Bollen | -0/+30 | |
| 2017-09-02 | update gcc crate | Ralf Jung | -1/+1 | |
| Use gcc::Build rather than deprecated gcc::Config. Fixes #43973 | ||||
| 2017-09-02 | Fallback to dladdr-based resolve_symbol if backtrace failed. | kennytm | -14/+29 | |
| This programs compiled without -g on macOS still provide the resolve to actual symbols, instead of `<unknown>` everywhere. | ||||
| 2017-09-02 | Use env::current_exe for libbacktrace on macOS | John Colanduoni | -20/+7 | |
| 2017-09-02 | Add libbacktrace support for Apple platforms | John Colanduoni | -7/+32 | |
| 2017-09-01 | Auto merge of #44154 - alexcrichton:bump-bootstrap, r=Mark-Simulacrum | bors | -58/+7 | |
| Bump to 1.22.0 and update boostrap compiler Time to get a new nightly! | ||||
| 2017-09-01 | Auto merge of #44238 - nrc:pulldown-warn, r=@QuietMisdreavus | bors | -1/+1 | |
| Improve the Pulldown/hoedown warnings cc #44229 r? @QuietMisdreavus | ||||
| 2017-09-01 | Fix tests | Nick Cameron | -1/+1 | |
| This is just undoing changes from #41991 because we are not running markdown rendering twice. | ||||
| 2017-09-01 | Fix documentation and formatting. | Jacob Kiesel | -2/+8 | |
| 2017-08-31 | Bring back stage0 allocator logic on MSVC | Alex Crichton | -2/+5 | |
| I think there may still be bugs preventing its removal.. | ||||
| 2017-08-31 | Rollup merge of #44209 - frewsxcv:frewsxcv-addr-other-scenarios, r=alexcrichton | Mark Simulacrum | -6/+92 | |
| Expand docs of multi-address behavior of some UDP/TCP APIs. Fixes https://github.com/rust-lang/rust/issues/22569. | ||||
| 2017-08-31 | Rollup merge of #44205 - frewsxcv:frewsxcv-addr-doc-fix, r=QuietMisdreavus | Mark Simulacrum | -1/+1 | |
| Fix typo in doc `ToSocketAddrs` example. None | ||||
| 2017-08-31 | Expand docs of multi-address behavior of some UDP/TCP APIs. | Corey Farwell | -6/+92 | |
| Fixes https://github.com/rust-lang/rust/issues/22569. | ||||
