- 28 6月, 2015 3 次提交
-
-
由 Jared Roesch 提交于
-
由 Jared Roesch 提交于
-
由 Jared Roesch 提交于
This first patch starts by moving around pieces of state related to type checking. The goal is to slowly unify the type checking state into a single typing context. This initial patch moves the ParameterEnvironment into the InferCtxt and moves shared tables from Inherited and ty::ctxt into their own struct Tables. This is the foundational work to refactoring the type checker to enable future evolution of the language and tooling.
-
- 27 6月, 2015 18 次提交
-
-
由 bors 提交于
- Successful merges: #26565, #26584, #26596, #26603 - Failed merges:
-
由 bors 提交于
These will first be deprecated in 1.2.0, not 1.1.0.
-
由 bors 提交于
At the moment, it only mentions the fix to parallel codegen. I was going to add more, but I have to go for a while - If this isn't reviewed when I get back, I'll remove it and resubmit it after filling in more :)
-
由 Manish Goregaokar 提交于
Quick poll of basically the entire core team says this is ok.
-
由 Manish Goregaokar 提交于
-
由 Manish Goregaokar 提交于
Fix #26537.
-
由 Manish Goregaokar 提交于
This is just a simple change to ignore KDevelop 4 (and pre-release versions of KDevelop 5) project files.
-
由 bors 提交于
Next step towards split local/global type contexts, after #26351. cc @rust-lang/compiler @jroesch
-
由 bors 提交于
Now that LLVM has been updated, the only remaining roadblock to implementing unwinding for MSVC is to fill out the runtime support in `std::rt::unwind::seh`. This commit does precisely that, fixing up some other bits and pieces along the way: * The `seh` unwinding module now uses `RaiseException` to initiate a panic. * The `rust_try.ll` file was rewritten for MSVC (as it's quite different) and is located at `rust_try_msvc_64.ll`, only included on MSVC builds for now. * The personality function for all landing pads generated by LLVM is hard-wired to `__C_specific_handler` instead of the standard `rust_eh_personality` lang item. This is required to get LLVM to emit SEH unwinding information instead of DWARF unwinding information. This also means that on MSVC the `rust_eh_personality` function is entirely unused (but is defined as it's a lang item). More details about how panicking works on SEH can be found in the `rust_try_msvc_64.ll` or `seh.rs` files, but I'm always open to adding more comments! A key aspect of this PR is missing, however, which is that **unwinding is still turned off by default for MSVC**. There is a [bug in llvm][llvm-bug] which causes optimizations to inline enough landing pads that LLVM chokes. If the compiler is optimized at `-O1` (where inlining isn't enabled) then it can bootstrap with unwinding enabled, but when optimized at `-O2` (inlining is enabled) then it hits a fatal LLVM error. [llvm-bug]: https://llvm.org/bugs/show_bug.cgi?id=23884
-
由 bors 提交于
My bad!
-
由 Cruz Julian Bishop 提交于
-
由 bors 提交于
-
由 Huon Wilson 提交于
These will first be deprecated in 1.2.0, not 1.1.0.
-
由 Ms2ger 提交于
-
由 bors 提交于
I found some typos in the upcoming 1.1 release note. I corrected them, but I wanted to go further. So I wrote a script that checks the integrity of the Markdown references, and ran it against `RELEASES.md`. This commit fixes some trivial cases, but also removes the following "unused" references: - [`Iterator::cloned`](http://doc.rust-lang.org/nightly/core/iter/trait.Iterator.html#method.cloned) - [`thread::scoped`](http://static.rust-lang.org/doc/master/std/thread/fn.scoped.html) - [`Debug` improvements](https://github.com/rust-lang/rfcs/blob/master/text/0640-debug-improvements.md) - [Rebalancing coherence.](https://github.com/rust-lang/rfcs/pull/1023) However, I think there's a possibility that these features might need to get descriptions as well. How do you feel about it?
-
由 Alexis Beingessner 提交于
-
由 Alexis Beingessner 提交于
-
由 Richo Healey 提交于
-
- 26 6月, 2015 19 次提交
-
-
由 bors 提交于
Storing them as FCAs is a regression from the recent change that made fat pointers immediate return values so that they are passed in registers instead of memory.
-
由 Björn Steinbrink 提交于
Storing them as FCAs is a regression from the recent change that made fat pointers immediate return values so that they are passed in registers instead of memory.
-
由 Eduard Burtescu 提交于
-
由 Eduard Burtescu 提交于
-
由 Eduard Burtescu 提交于
-
由 Eduard Burtescu 提交于
-
由 Eduard Burtescu 提交于
-
由 Eduard Burtescu 提交于
-
由 bors 提交于
This removes a footgun, since it is a reasonable assumption to make that pointers to `T` will be aligned to `align_of::<T>()`. This also matches the behaviour of C/C++. `min_align_of` is now deprecated. Closes #21611.
-
由 OGINO Masanori 提交于
Fix #26537. Signed-off-by: NOGINO Masanori <masanori.ogino@gmail.com>
-
由 bors 提交于
@nikomatsakis and I ran into this earlier and I figured we should rename the trait and method to match the typical naming convention.
-
由 Jared Roesch 提交于
-
由 Cruz Julian Bishop 提交于
-
由 bors 提交于
It's nearly midnight. I'm tired. I'll look for something worth doing in the morning :)
-
由 Cruz Julian Bishop 提交于
It's nearly midnight. I'm tired. I'll look for something worth doing in the morning :)
-
由 Barosl Lee 提交于
I found some typos in the upcoming 1.1 release note. I corrected them, but I wanted to go further. So I wrote a script that checks the integrity of the Markdown references, and ran it against `RELEASES.md`. This commit fixes some trivial cases, but also removes the following "unused" references: - [`Iterator::cloned`](http://doc.rust-lang.org/nightly/core/iter/trait.Iterator.html#method.cloned) - [`thread::scoped`](http://static.rust-lang.org/doc/master/std/thread/fn.scoped.html) - [`Debug` improvements](https://github.com/rust-lang/rfcs/blob/master/text/0640-debug-improvements.md) - [Rebalancing coherence.](https://github.com/rust-lang/rfcs/pull/1023) However, I think there's a possibility that these features might need to get descriptions as well. How do you feel about it?
-
由 Brian Anderson 提交于
My bad!
-
由 bors 提交于
In the release notes, the link name `[err]` was used to refer both to the error index and the error chaining RFC. Another problem I noticed was that `[fs-expand]` is never defined.
-
由 bors 提交于
-