about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-11-14 07:54:51 +0000
committerbors <bors@rust-lang.org>2017-11-14 07:54:51 +0000
commit24840dab0bef0047beb428e1c15e9a851f732dcc (patch)
treed7fe13d555d0954c39d2a73a0a0d545467676163 /src/libstd/sys/unix/stack_overflow.rs
parentb5a3ab2e81c837df95a21758b00aeb4e88477b30 (diff)
parentd6aa56f44e062bfe06144318cbd88ac0b58d5814 (diff)
downloadrust-24840dab0bef0047beb428e1c15e9a851f732dcc.tar.gz
rust-24840dab0bef0047beb428e1c15e9a851f732dcc.zip
Auto merge of #45916 - eddyb:even-mirer-0, r=nikomatsakis
rustc_mir: hardcode pass list internally and remove premature pluggability.

Fixes #41712 by moving the MIR pass lists from `rustc_driver` to `rustc_mir`.
The application of the passes is done with the `rustc_mir::transform::run_passes` macro, which is public, as are all the passes AFAIK, and can be used to apply MIR passes outside of `rustc_mir`.

With the ability to override query providers through the `rustc_driver` (orthogonal to, and not included in this PR), custom drivers will be able to substitute the entire pass list if they want to.
**EDIT**: the aforementioned ability is added by #45944.

r? @nikomatsakis
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions