summary refs log tree commit diff
path: root/src/libstd
AgeCommit message (Collapse)AuthorLines
2016-11-01Rollup merge of #37316 - ollie27:docs_links, r=GuillaumeGomezGuillaume Gomez-3/+6
Fix a few links in the docs r? @steveklabnik
2016-11-01Auto merge of #37178 - apasel422:issue-37136, r=alexcrichtonbors-1/+43
Implement `RefUnwindSafe` for atomic types Closes #37136
2016-10-31Auto merge of #36595 - bluss:hashmap-usize-for-hash, r=alexcrichtonbors-25/+44
hashmap: Store hashes as usize internally We can't use more than usize's bits of a hash to select a bucket anyway, so we only need to store that part in the table. This should be an improvement for the size of the data structure on 32-bit platforms. Smaller data means better cache utilization and hopefully better performance. Fixes #36567
2016-10-31Changed most vec! invocations to use square bracesiirelu-7/+7
Most of the Rust community agrees that the vec! macro is clearer when called using square brackets [] instead of regular brackets (). Most of these ocurrences are from before macros allowed using different types of brackets. There is one left unchanged in a pretty-print test, as the pretty printer still wants it to have regular brackets.
2016-10-31Don't reuse RandomState seedsarthurprs-14/+12
2016-10-31Merge branch 'master' of https://github.com/rust-lang/rust into redoxJeremy Soller-4/+71
2016-10-31Remove unused type aliasesSeo Sanghyeon-4/+0
2016-10-30Fix for thread localsJeremy Soller-15/+24
2016-10-30Implement TLS scoped keys, compiler builtinsJeremy Soller-3/+3
2016-10-30Implement threadJeremy Soller-14/+12
2016-10-29Implement rand and args, cleanup other modulesJeremy Soller-74/+29
2016-10-29Implement env, reentrant mutex, and partially implement scoped thread ↵Jeremy Soller-49/+174
locals. Better error messages for unsupported features
2016-10-29Auto merge of #37387 - raphlinus:fuchsia_aarch64, r=alexcrichtonbors-2/+4
Support for aarch64 architecture on Fuchsia This patch adds support for the aarch64-unknown-fuchsia target. Also updates src/liblibc submodule to include required libc change.
2016-10-28Auto merge of #37385 - raphlinus:fuchsia_random, r=alexcrichtonbors-1/+55
Add support for kernel randomness for Fuchsia Wire up cprng syscall as provider for rand::os::OsRng on Fuchsia.
2016-10-28Can import unwind nowJeremy Soller-1/+1
2016-10-28Remove unsafe libc layerJeremy Soller-637/+193
2016-10-28Auto merge of #37450 - GuillaumeGomez:rollup, r=GuillaumeGomezbors-0/+11
Rollup of 5 pull requests - Successful merges: #36206, #37343, #37430, #37436, #37441 - Failed merges:
2016-10-28Rollup merge of #37343 - bluss:write-doc, r=GuillaumeGomezGuillaume Gomez-0/+11
Add documentation for Read, Write impls for slices and Vec The Write imps for &[u8] and Vec<u8> are quite different, and we need this to be reflected in the docs. These documentation comments will be visible on the respective type's page in the trait impls section.
2016-10-27Add redox systemJeremy Soller-5/+4313
2016-10-27tidy/features: fix checking of lang featuresTamir Duberstein-1/+1
Removes the `STATUSES` static which duplicates truth from the pattern match in `collect_lang_features`. Fixes existing duplicates by renaming: - never_type{,_impls} on `impl`s on `!` - concat_idents{,_macro} on `macro_rules! concat_idents` Fixes #37013.
2016-10-27Add documentation for Read, Write impls for slices and VecUlrik Sverdrup-0/+11
The Write impls for &[u8] and Vec<u8> are quite different, and we need this to be reflected in the docs. These documentation comments will be visible on the respective type's page in the trait impls section.
2016-10-24Support for aarch64 architecture on FuchsiaRaph Levien-2/+4
This patch adds support for the aarch64-unknown-fuchsia target. Also updates src/liblibc submodule to include required libc change.
2016-10-24Add support for kernel randomness for FuchsiaRaph Levien-1/+55
Wire up cprng syscall as provider for rand::os::OsRng on Fuchsia.
2016-10-24Auto merge of #37382 - jonathandturner:rollup, r=jonathandturnerbors-58/+72
Rollup of 7 pull requests - Successful merges: #37228, #37304, #37324, #37328, #37336, #37349, #37372 - Failed merges:
2016-10-24Rollup merge of #37372 - vtduncan:pathbuf-docs-link, r=steveklabnikJonathan Turner-3/+7
Link to PathBuf from the Path docs I got stuck trying to use `Path` when `PathBuf` was what I needed. Hopefully this makes `PathBuf` and the module docs a bit easier to find for others. r? @steveklabnik
2016-10-24Rollup merge of #37304 - GuillaumeGomez:collections_url, r=frewsxcvJonathan Turner-55/+65
Add missing urls in collections module r? @steveklabnik
2016-10-24Auto merge of #37313 - raphlinus:fuchsia, r=alexcrichtonbors-37/+464
Add Fuchsia support Adds support for the x86_64-unknown-fuchsia target, which covers the Fuchsia operating system.
2016-10-24Link to PathBuf from the Path docsDuncan-3/+7
2016-10-22Update libc submodule with corresponding fuchsia changesRaph Levien-5/+0
Also trim os::fuchsia::raw architectures.
2016-10-22Fix tidy warningRaph Levien-1/+1
Prefer FIXME to TODO
2016-10-22Fix missing DirEntryExt::inoRaph Levien-2/+2
The DirEntryExt::ino() implementation was omitted from the first iteration of this patch, because a dependency needed to be configured. The fix is straightforward enough.
2016-10-22Add Fuchsia supportRaph Levien-36/+468
Adds support for the x86_64-unknown-fuchsia target, which covers the Fuchsia operating system.
2016-10-21Small docstring changes for include_bytes and include_strАртём Павлов [Artyom Pavlov]-5/+9
2016-10-21Small doc change for include!Артём Павлов [Artyom Pavlov]-3/+4
2016-10-21Fix a few links in the docsOliver Middleton-3/+6
2016-10-20Add missing urls in collections moduleGuillaume Gomez-55/+65
2016-10-19Rollup merge of #37165 - GuillaumeGomez:bytes_url, r=kmcallisterGuillaume Gomez-6/+12
Add missing urls for io types r? @steveklabnik
2016-10-19Auto merge of #37259 - GuillaumeGomez:fix_io_urls, r=frewsxcvbors-41/+52
Add more io urls r? @steveklabnik
2016-10-19Rollup merge of #37236 - bluss:range-argument, r=alexcrichtonEduard-Mihai Burtescu-0/+4
std::collections: Reexport libcollections's range module This is overdue, even if range and RangeArgument is still unstable. The stability attributes are the same ones as the other unstable item (Bound) here, they don't seem to matter.
2016-10-19Rollup merge of #37221 - diwic:6a-readdir-debug, r=alexcrichtonEduard-Mihai Burtescu-0/+17
impl Debug for ReadDir It is good practice to implement Debug for public types, and indicating what directory you're reading seems useful. Signed-off-by: David Henningsson <diwic@ubuntu.com>
2016-10-18Typos in some linkageGuillaume Gomez-41/+52
2016-10-17Rollup merge of #37189 - nabeelomer:master, r=blussGuillaume Gomez-3/+5
Updated the docs for Error::description Fixes https://github.com/rust-lang/rust/issues/37163
2016-10-17std::collections: Reexport libcollections's range moduleUlrik Sverdrup-0/+4
This is overdue, even if range and RangeArgument is still unstable. The stability attributes are the same ones as the other unstable item (Bound) here, they don't seem to matter.
2016-10-17hashmap: Store hashes as usize internallyUlrik Sverdrup-25/+44
We can't use more than usize's bits of a hash to select a bucket anyway, so we only need to store that part in the table. This should be an improvement for the size of the data structure on 32-bit platforms. Smaller data means better cache utilization and hopefully better performance.
2016-10-17Auto merge of #37162 - matklad:static-mut-lint, r=jseyfriedbors-7/+7
Lint against lowercase static mut Closes #37145. Lint for non mut statics was added in https://github.com/rust-lang/rust/pull/7523, and it explicitly did not cover mut statics. I am not sure why.
2016-10-16Implement `RefUnwindSafe` for atomic typesAndrew Paseltiner-1/+43
Closes #37136
2016-10-16impl Debug for ReadDirDavid Henningsson-0/+17
It is good practice to implement Debug for public types, and indicating what directory you're reading seems useful. Signed-off-by: David Henningsson <diwic@ubuntu.com>
2016-10-15Fixed typoNabeel Omer-1/+1
2016-10-15Corrected broken markdown linkNabeel Omer-1/+1
2016-10-15Updated the docs for Error::descriptionNabeel Omer-3/+5