- 23 9月, 2017 6 次提交
- 18 9月, 2017 1 次提交
-
-
由 Alex Crichton 提交于
This commit moves the actual code generation in the compiler behind a query keyed by a codegen unit's name. This ended up entailing quite a few internal refactorings to enable this, along with a few cut corners: * The `OutputFilenames` structure is now tracked in the `TyCtxt` as it affects a whole bunch of trans and such. This is now behind a query and threaded into the construction of the `TyCtxt`. * The `TyCtxt` now has a channel "out the back" intended to send data to worker threads in rustc_trans. This is used as a sort of side effect of the codegen query but morally what's happening here is the return value of the query (currently unit but morally a path) is only valid once the background threads have all finished. * Dispatching work items to the codegen threads was refactored to only rely on data in `TyCtxt`, which mostly just involved refactoring where data was stored, moving it from the translation thread to the controller thread's `CodegenContext` or the like. * A new thread locals was introduced in trans to work around the query system. This is used in the implementation of `assert_module_sources` which looks like an artifact of the old query system and will presumably go away once red/green is up and running.
-
- 15 9月, 2017 1 次提交
-
-
由 Alex Crichton 提交于
This commit removes the `dep_graph` field from the `Session` type according to issue #44390. Most of the fallout here was relatively straightforward and the `prepare_session_directory` function was rejiggered a bit to reuse the results in the later-called `load_dep_graph` function. Closes #44390
-
- 12 9月, 2017 1 次提交
-
-
由 Michael Woerister 提交于
Remove the `cstore` reference from Session in order to prepare encapsulating CrateStore access in tcx.
-
- 10 9月, 2017 1 次提交
-
-
由 Alex Crichton 提交于
This should now be entirely tracked through queries, so no need to have a `DepGraph` in the `CStore` object any more!
-
- 27 8月, 2017 1 次提交
-
-
由 Tatsuyuki Ishi 提交于
-
- 26 8月, 2017 1 次提交
-
-
由 Tamir Duberstein 提交于
Fixes #41701.
-
- 23 8月, 2017 2 次提交
-
-
由 Matthew Hammer 提交于
inc comp: -Z profile-queries support; see also https://github.com/rust-lang-nursery/rust-forge/blob/master/profile-queries.md
-
由 Kornel 提交于
-
- 19 8月, 2017 1 次提交
-
-
由 Vadim Petrochenkov 提交于
-
- 16 8月, 2017 1 次提交
-
-
由 Zack M. Davis 提交于
Like #43008 (f6689991), but _much more aggressive_.
-
- 13 8月, 2017 2 次提交
- 12 8月, 2017 1 次提交
-
-
由 bjorn3 提交于
-
- 11 8月, 2017 3 次提交
- 10 8月, 2017 1 次提交
-
-
由 Nick Cameron 提交于
-
- 08 8月, 2017 1 次提交
-
-
由 Nick Cameron 提交于
-
- 07 8月, 2017 1 次提交
-
-
由 Zack M. Davis 提交于
Bizarrely, librustc_passes, librustc_plugin, librustc_mir, and libsyntax weren't getting their error explanations registered. Resolves #35284.
-
- 02 8月, 2017 1 次提交
-
-
由 Isaac van Bakel 提交于
-
- 30 7月, 2017 1 次提交
-
-
由 Daiki Mizukami 提交于
-
- 24 7月, 2017 1 次提交
-
-
由 Nick Cameron 提交于
-
- 22 7月, 2017 2 次提交
-
-
由 Nick Cameron 提交于
-
由 Nick Cameron 提交于
Replaces the output path env var. Can be passed to save-analysis via a function call or env var.
-
- 06 7月, 2017 1 次提交
-
-
由 Alex Crichton 提交于
This PR is an implementation of [RFC 1974] which specifies a new method of defining a global allocator for a program. This obsoletes the old `#![allocator]` attribute and also removes support for it. [RFC 1974]: https://github.com/rust-lang/rfcs/pull/197 The new `#[global_allocator]` attribute solves many issues encountered with the `#![allocator]` attribute such as composition and restrictions on the crate graph itself. The compiler now has much more control over the ABI of the allocator and how it's implemented, allowing much more freedom in terms of how this feature is implemented. cc #27389
-
- 03 7月, 2017 6 次提交
-
-
由 Cengiz Can 提交于
-
由 Cengiz Can 提交于
-
由 Cengiz Can 提交于
-
由 Cengiz Can 提交于
-
由 Cengiz Can 提交于
-
由 Cengiz Can 提交于
-
- 02 7月, 2017 2 次提交
-
-
由 Ariel Ben-Yehuda 提交于
Prior to this PR, when we aborted because a "critical pass" failed, we displayed the number of errors from that critical pass. While that's the number of errors that caused compilation to abort in *that place*, that's not what people really want to know. Instead, always report the total number of errors, and don't bother to track the number of errors from the last pass that failed. This changes the compiler driver API to handle errors more smoothly, and therefore is a compiler-api-[breaking-change]. Fixes #42793.
-
由 Ariel Ben-Yehuda 提交于
This reverts commit 5558c64f.
-
- 23 6月, 2017 1 次提交
-
-
由 kennytm 提交于
-