File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -9,8 +9,9 @@ four possible ways:
99* The program causes undefined behavior (e.g., dereferencing an out-of-bounds
1010 pointer).
1111* The program panics (e.g., a failed bounds check).
12- * The program loops forever, and this is detected by the loop detector. Note
13- that this detection happens on a best-effort basis only.
12+ * The program exhausts its resources: It might overflow the stack, allocation
13+ too much memory or loops forever. Note that detecting these conditions
14+ happens on a best-effort basis only.
1415
1516Just like panics and non-termination are acceptable in safe run-time Rust code,
1617we also consider these acceptable in safe compile-time Rust code. However, we
Original file line number Diff line number Diff line change @@ -101,5 +101,5 @@ TODO: Fill this with information.
101101
102102## Open questions
103103
104- * There is a fourth kind of CTFE failure -- and endless loop being detected.
105- What do we do when that happens while evaluating a promoted?
104+ * There is a fourth kind of CTFE failure -- resource exhaustion. What do we do
105+ when that happens while evaluating a promoted?
You can’t perform that action at this time.
0 commit comments