

recursive: fix hang on fulfill by slightly smarter check for progress. by Dirbai...
source link: https://github.com/rust-lang/chalk/pull/752
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

This fixes a hang using the recursive solver when trying to prove exists<'a, T> { if(T: 'a) { WellFormed(&'a T) } }
.
Snippet of the log when looping
The issue is:
- it tries to prove
InEnvironment { environment: Env([for<> ?0: '?1]), goal: ?2: '?3 }
- it gets "useless" substs
[?0 := ^0.0, ?1 := '^0.1]
- it applies them, they cause nothing to change but it thinks they did
- so in next round it processes again the exact same obligation...
There was already an if
treating empty substs as "useless", this extends it to treating trivial subs as "useless". (empty substs are also trivial).
Recommend
-
12
Building the registration process that your SaaS deserves may take longer than you expect, especially if the objectives and needs are unclear. In this post, we review the most common ones and how you can find the perf...
-
6
-
18
Metric Game: Tracking a product metric to fulfill user’s expectationsHelp users get the ground running on day oneBefore we start, check out a snippet of growth tides that B2B companies in the tech space are making —...
-
5
Play-to-earn blockchain games remain immensely popular. Axie Infinity is one of the leading projects in this space. The team is now introducing Axie Infinity Shards (AXS) staking, adding another layer of revenue potential to this popular bloc...
-
9
It’s time for CRM applications to fulfill their promise Read later By
-
6
OpenSPV to fulfill Bitcoin’s promise of fast, secure, P2P transactions Tech 20 October 2021 Simplified Payment Verification (SPV), Satoshi Naka...
-
6
Conversational AI explodes to fulfill CX gap Image Credit: Zapp2Photo / iStock To further strengthen our commitment to providing...
-
6
This privacy-focused budget smartphone wants to fulfill your life-without-Google dreams By Will Sattelberg Publishe...
-
10
Xiaomi may co-brand EVs with BAIC to fulfill 2024 delivery promise
-
6
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK