summary refs log tree commit diff
path: root/src/libstd
AgeCommit message (Collapse)AuthorLines
2017-09-06std: Fix a segfault on OSX with backtracesAlex Crichton-1/+2
Apparently `dladdr` can succeed but still give you NULL pointers! Closes #44379
2017-09-06Rollup merge of #44315 - kallisti5:epoch-doc-example-squashed, r=GuillaumeGomezMark Simulacrum-0/+11
std/time: Give an example to get UNIX_EPOCH in seconds
2017-09-06Rollup merge of #44097 - Xaeroxe:clamp, r=burntsushiMark 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-06Implement named threads on WindowsJoshua Sheard-7/+17
2017-09-05add feature gate doc_masked and testsQuietMisdreavus-0/+1
2017-09-05new attribute #[doc(masked)] to hide internal crates from std docsQuietMisdreavus-1/+6
2017-09-05Avoid weird or_insert_with exampleJon Gjengset-3/+1
2017-09-05Add or_default to Entry APIsJon Gjengset-0/+29
2017-09-04Add panic unit testsJacob Kiesel-0/+37
2017-09-04std/time: Give an example to get UNIX_EPOCH in secondsAlexander von Gluck IV-0/+11
2017-09-04Make the LocalKey facade of thread_local! inlineable cross-crate.Eduard-Mihai Burtescu-3/+13
2017-09-03Marked `Entry::replace` as unstable.Jeroen Bollen-1/+2
2017-09-03Added a way to retrieve the key out of a HashMap when it's being replaced.Jeroen Bollen-0/+30
2017-09-02update gcc crateRalf Jung-1/+1
Use gcc::Build rather than deprecated gcc::Config. Fixes #43973
2017-09-02Fallback 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-02Use env::current_exe for libbacktrace on macOSJohn Colanduoni-20/+7
2017-09-02Add libbacktrace support for Apple platformsJohn Colanduoni-7/+32
2017-09-01Auto merge of #44154 - alexcrichton:bump-bootstrap, r=Mark-Simulacrumbors-58/+7
Bump to 1.22.0 and update boostrap compiler Time to get a new nightly!
2017-09-01Auto merge of #44238 - nrc:pulldown-warn, r=@QuietMisdreavusbors-1/+1
Improve the Pulldown/hoedown warnings cc #44229 r? @QuietMisdreavus
2017-09-01Fix testsNick Cameron-1/+1
This is just undoing changes from #41991 because we are not running markdown rendering twice.
2017-09-01Fix documentation and formatting.Jacob Kiesel-2/+8
2017-08-31Bring back stage0 allocator logic on MSVCAlex Crichton-2/+5
I think there may still be bugs preventing its removal..
2017-08-31Rollup merge of #44209 - frewsxcv:frewsxcv-addr-other-scenarios, r=alexcrichtonMark 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-31Rollup merge of #44205 - frewsxcv:frewsxcv-addr-doc-fix, r=QuietMisdreavusMark Simulacrum-1/+1
Fix typo in doc `ToSocketAddrs` example. None
2017-08-31Expand docs of multi-address behavior of some UDP/TCP APIs.Corey Farwell-6/+92
Fixes https://github.com/rust-lang/rust/issues/22569.
2017-08-31Update Cargo to 0.23.0 and our lockfileAlex Crichton-0/+2
2017-08-31Bump to 1.22.0Alex Crichton-10/+3
2017-08-31Update bootstrap compilerAlex Crichton-50/+1
This commit updates the bootstrap compiler and clears out a number of #[cfg(stage0)] annotations and related business
2017-08-31Auto merge of #41991 - GuillaumeGomez:rustdoc-html-diff, r=nrcbors-1/+1
Add warnings when rustdoc html rendering differs
2017-08-30Fix typo in doc `ToSocketAddrs` example.Corey Farwell-1/+1
2017-08-30Rollup merge of #44160 - AndyGauge:api-docs-macros, r=steveklabnikAlex Crichton-21/+101
API docs: macros. Standard Documentation Checklist Fixes #29381 r? @steveklabnik
2017-08-30Rollup merge of #44116 - alexcrichton:update-libc, r=Mark-SimulacrumAlex Crichton-12/+29
Update the libc submodule Brings in a few fixes for wasm/asmjs
2017-08-30Temporary fix for a test (will require another update when this is fully merged)Guillaume Gomez-1/+1
2017-08-29broken links resolvedAndy Gauge-1/+1
2017-08-29Rollup merge of #44117 - frewsxcv:frewsxcv-to-socket-addrs-examples, ↵Ariel Ben-Yehuda-22/+66
r=QuietMisdreavus Rewrite `std::net::ToSocketAddrs` doc examples. in particular: * show how to create an iterator that yields multiple socket addresses * show more failing scenarios done this as preliminary work while investigating https://github.com/rust-lang/rust/issues/22569 note: i haven't run doc tests on my machine for this, so would be good to confirm CI passes before approving
2017-08-29fix test failures in documentation changeAndrew Gauger-2/+2
2017-08-29API docs: macros. Part of #29329 Standard Library Documentation Checklist.Andy Gauge-21/+101
2017-08-28Update the libc submoduleAlex Crichton-12/+29
Brings in a few fixes for wasm/asmjs
2017-08-28Rewrite `std::net::ToSocketAddrs` doc examples.Corey Farwell-22/+66
in particular: * show how to create an iterator that yields multiple socket addresses * show more failing scenarios
2017-08-27Whitelist unwind import in stdTatsuyuki Ishi-2/+2
This is a part of libbacktrace linkage and thus the compiler cannot detect if it's used or not.
2017-08-27Move unused-extern-crate to late passTatsuyuki Ishi-3/+3
2017-08-27Auto merge of #44112 - alexcrichton:thread-join, r=sfacklerbors-2/+13
std: Handle OS errors when joining threads Also add to the documentation that the `join` method can panic. cc #34971 cc #43539
2017-08-26std: Handle OS errors when joining threadsAlex Crichton-2/+13
Also add to the documentation that the `join` method can panic. cc #34971 cc #43539
2017-08-26Fix f64 examplesJacob Kiesel-2/+4
2017-08-26Fix f32 examples.Jacob Kiesel-2/+4
2017-08-26Add NAN examplesJacob Kiesel-0/+2
2017-08-26Add clamp functionsJacob Kiesel-0/+40
2017-08-26Rollup merge of #44072 - lukaramu:fix-doc-headings, r=steveklabnikCorey Farwell-7/+7
Fix inconsistent doc headings This fixes headings reading "Unsafety" and "Example", they should be "Safety" and "Examples" according to RFC 1574. r? @steveklabnik
2017-08-25*: remove crate_{name,type} attributesTamir Duberstein-3/+0
Fixes #41701.
2017-08-24Fix inconsistent doc headingslukaramu-7/+7
This fixes headings reading "Unsafety" and "Example", they should be "Safety" and "Examples" according to RFC 1574.