about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2015-09-05Added link for hygenic macro system in macros.mdchristopherdumas-1/+1
2015-09-02Auto merge of #28117 - marcusklaas:continue-break, r=alexcrichtonbors-2/+2
Fixes https://github.com/rust-lang/rust/issues/28108.
2015-09-02Auto merge of #28135 - jackwilsonv:patch-1, r=steveklabnikbors-1/+1
Small formatting change r? @steveklabnik
2015-09-02Fix overly long spans for break and continueMarcus Klaas-2/+2
The spans of break and continue would include the next token.
2015-09-02Auto merge of #28165 - mneumann:dragonfly_snapshots, r=alexcrichtonbors-0/+1
@alexcrichton: The snapshot file is here: http://www.ntecs.de/downloads/rust/rust-stage0-2015-08-11-1af31d4-dragonfly-x86_64-08e7dd9d77434b377c0905cc5f8c705b2daf3a0e.tar.bz2. This is the first part in getting Continuous builds for DragonFly (#16298).
2015-09-02Add snapshot for DragonFly BSDMichael Neumann-0/+1
2015-09-02Auto merge of #28162 - mneumann:dragonfly_fix_stat, r=alexcrichtonbors-4/+4
2015-09-02Improved libfmt_macros code style with clippyllogiq-17/+11
2015-09-02Fix compile on DragonFly: Replace unknown uint32_t/in64_t by u32/i64.Michael Neumann-4/+4
2015-09-02Auto merge of #28156 - nagisa:binaryheap-debug, r=Gankrobors-0/+8
r? @Gankro
2015-09-02Auto merge of #28155 - vchimishuk:doc-rust-inside-other-languages-tab, ↵bors-1/+1
r=alexcrichton Fixed x variable identation. How it was displayed in Firefox before: http://s16.postimg.org/c9448tn0k/Screenshot_from_2015_09_01_17_35_43.jpg
2015-09-02Auto merge of #28149 - jakerr:atomic, r=alexcrichtonbors-4/+4
Makes the code agree with the comment: 'value answers "am I locked?"'.
2015-09-02Auto merge of #28148 - eefriedman:binary_heap, r=alexcrichtonbors-10/+26
2015-09-01Auto merge of #28132 - arielb1:uninstantiable, r=nikomatsakisbors-115/+1
It is *very* easy to bypass, and is a relic of a bygone age where the type-checker was *much* less robust. Fixes #27497 r? @nikomatsakis
2015-09-01Auto merge of #28146 - eefriedman:deque_extras, r=alexcrichtonbors-2/+8
2015-09-01Auto merge of #28130 - alexcrichton:fix-msvc-static-tls-dtor, r=brsonbors-9/+68
Running TLS destructors for a MSVC Windows binary requires the linker doesn't elide the `_tls_used` or `__tls_used` symbols (depending on the architecture). This is currently achieved via a `#[link_args]` hack but this only works for dynamically linked binaries because the link arguments aren't propagated to statically linked binaries. This commit alters the strategy to instead emit a volatile load from those symbols so LLVM can't elide it, forcing the reference to the symbol to stay alive as long as the callback function stays alive (which we've made sure of with the `#[linkage]` attribute). Closes #28111
2015-09-01std: Run TLS destructors in a statically linked binaryAlex Crichton-9/+68
Running TLS destructors for a MSVC Windows binary requires the linker doesn't elide the `_tls_used` or `__tls_used` symbols (depending on the architecture). This is currently achieved via a `#[link_args]` hack but this only works for dynamically linked binaries because the link arguments aren't propagated to statically linked binaries. This commit alters the strategy to instead emit a volatile load from those symbols so LLVM can't elide it, forcing the reference to the symbol to stay alive as long as the callback function stays alive (which we've made sure of with the `#[linkage]` attribute). Closes #28111
2015-09-01Auto merge of #28088 - tbu-:pr_fixed_size_array, r=alexcrichtonbors-14/+44
2015-09-01Implement Debug for BinaryHeapSimonas Kazlauskas-0/+8
Fixes #28154
2015-09-01Auto merge of #28152 - llogiq:master, r=Manishearthbors-191/+176
This changes a lot of `.to_string()` to `.to_owned()`, removes a few redundant closures, and changes some `match`es to `if let`s. I'm currently in the process of trying out clippy and acting on its suggestions. I started with compiletest, because we use it to test clippy, too. If this finds positive reception, I may continue refactoring other parts of the rust codebase.
2015-09-01Source code style fixed: tab replaced with whitespaces.Viacheslav Chimishuk-1/+1
2015-09-01Auto merge of #28115 - AlexDenisov:patch-1, r=steveklabnikbors-1/+1
r? @steveklabnik
2015-09-01refactored compiletest following clippy's suggestionsllogiq-191/+176
2015-09-01Auto merge of #28060 - GuillaumeGomez:patch-3, r=Manishearthbors-9/+189
Part of #24407 r? @Manishearth
2015-09-01Auto merge of #28137 - nrc:remove-non-multi, r=huonwbors-173/+3
This is a [breaking-change] for syntax extension authors. The fix is to use MultiModifier or MultiDecorator, which have the same functionality but are more flexible. Users of syntax extensions are unaffected.
2015-09-01Reverse AtomicBool value in nomicon example to agree with its comment.Jake Kerr-4/+4
Makes the code agree with the comment: 'value answers "am I locked?"'.
2015-09-01Add missing stability markings to BinaryHeap.Eli Friedman-10/+26
2015-09-01Auto merge of #28136 - huonw:simd, r=alexcrichtonbors-64/+35
I believe everything that doesn't take a constant integer up to SSE4.2 should now be correct (I don't have any reason to believe that those that do take constant integers are wrong; they're just more complicated and I just haven't tested them in detail). (Also, takes out two unused code paths from trans.)
2015-08-31Add missing stability attributes to VecDeque.Eli Friedman-2/+8
2015-09-01Auto merge of #28122 - apasel422:issue-28093, r=alexcrichtonbors-0/+1
closes #28093
2015-08-31Fix some typos in SSE-AVX intrinsics.Huon Wilson-21/+26
I believe everything that doesn't take a constant integer up to SSE4.2 should now be correct (I don't have any reason to believe that those that do take constant integers are wrong; they're just more complicated and I just haven't tested them in detail).
2015-08-31Remove some SIMD codepaths from trans.Huon Wilson-43/+9
2015-09-01Remove the Modifier and Decorator kinds of syntax extensions.Nick Cameron-173/+3
This is a [breaking-change] for syntax extension authors. The fix is to use MultiModifier or MultiDecorator, which have the same functionality but are more flexible. Users of syntax extensions are unaffected.
2015-09-01Auto merge of #28094 - apasel422:extend-hashmap, r=alexcrichtonbors-0/+62
It appears that these impls were left out of #25989 by mistake. r? @alexcrichton I'm not sure what the stability markers for these should be.
2015-09-01Add E0439 error explanationGuillaume Gomez-14/+34
2015-09-01Add E0440 error explanationGuillaume Gomez-1/+28
2015-09-01Add E0441 error explanationGuillaume Gomez-1/+28
2015-09-01Add E0443 error explanationGuillaume Gomez-22/+49
2015-09-01Add E0442 error explanationGuillaume Gomez-1/+32
2015-09-01Comment out unused error codesGuillaume Gomez-18/+18
2015-09-01Add E0411 error explanationGuillaume Gomez-1/+49
2015-08-31Makes formatting of i32 consistentJack Wilson-1/+1
2015-08-31Auto merge of #28079 - huonw:simd, r=alexcrichtonbors-610/+8173
This adds a new Python script (compatible with 2.7 and 3.x) that will consume some JSON files that define a platform's intrinsics. It can output a file that defines the intrinsics in the compiler, or an `extern` block that will import them. The complexity of the generator is to be DRY: platforms (especially ARM and AArch64) have a lot of repetition with their intrinsics, for different versions with different types, so being able to write it once is nice.
2015-08-31remove the is_instantiable checkAriel Ben-Yehuda-115/+1
Fixes #27497
2015-08-31Delete unused macros from rustc_platform_intrinsics.Huon Wilson-40/+0
2015-08-31Implement RFC 839 for `{HashMap, HashSet}`Andrew Paseltiner-0/+62
It appears that these impls were left out of #25989 by mistake.
2015-08-31Auto merge of #28009 - GuillaumeGomez:patch-1, r=Manishearthbors-0/+3
r? @Manishearth
2015-08-31Auto merge of #28123 - Aatch:fix-silly-tuple-constructor, r=eddybbors-0/+32
This was preventing any side-effects from the expressions from happening. Fixes #28114 cc @rust-lang/compiler
2015-08-31Auto merge of #28116 - nrc:closure-expand, r=alexcrichtonbors-6/+1
2015-08-31Translate constructor arguments for zero-sized tuple structsJames Miller-0/+32
This was preventing any side-effects from the expressions from happening. Fixes #28114