about summary refs log tree commit diff
path: root/library/std/src/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-05-21 02:39:39 +0000
committerbors <bors@rust-lang.org>2021-05-21 02:39:39 +0000
commit6f5a198ffc0b624783a81e57e1d29c69283949c1 (patch)
tree8246ced7254c97eb97f338dfeadb681fdd676d3c /library/std/src/sys/unix/stack_overflow.rs
parent746ac21e48728c1207b8649cb4159d3de24ae957 (diff)
parent8657bb251cc11d37cf5600350d1c2351728b4e4e (diff)
downloadrust-6f5a198ffc0b624783a81e57e1d29c69283949c1.tar.gz
rust-6f5a198ffc0b624783a81e57e1d29c69283949c1.zip
Auto merge of #85382 - Aaron1011:project-eval, r=nikomatsakis
Always produce sub-obligations when using cached projection result

See https://github.com/rust-lang/rust/issues/85360

When we skip adding the sub-obligations to the `obligation` list, we can affect whether or not the final result is `EvaluatedToOk` or `EvaluatedToOkModuloObligations`. This creates problems for incremental compilation, since the projection cache is untracked shared state.

To solve this issue, we unconditionally process the sub-obligations. Surprisingly, this is a slight performance *win* in many cases.
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions