File tree 2 files changed +15
-0
lines changed
2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -120,6 +120,14 @@ Unreleased
120
120
121
121
- Fix a crash when clearing temporary directories (#4489 , #4529 , Andrey Mokhov)
122
122
123
+ - Dune now memoizes all errors when running in the file-watching mode. This
124
+ speeds up incremental rebuilds but may be inconvenient in rare cases, e.g. if
125
+ a build action fails due to a spurious error, such as running out of memory.
126
+ Right now, the only way to force such actions to be rebuilt is to restart
127
+ Dune, which clears all memoized errors. In future, we would like to provide a
128
+ way to rerun all actions failed due to errors without restarting the build,
129
+ e.g. via a Dune RPC call. (#4522 , Andrey Mokhov)
130
+
123
131
2.9.0 (unreleased)
124
132
------------------
125
133
Original file line number Diff line number Diff line change 1
1
open ! Stdune
2
2
3
+ (* CR-someday amokhov: The current implementation memoizes all errors, which may
4
+ be inconvenient in rare cases, e.g. if a build action fails due to a spurious
5
+ error, such as running out of memory. Right now, the only way to force such
6
+ actions to be rebuilt is to restart Dune, which clears all memoized errors.
7
+ In future, we would like to provide a way to rerun all actions failed due to
8
+ errors without restarting the build, e.g. via a Dune RPC call. *)
9
+
3
10
type 'a build
4
11
5
12
module type Build = sig
You can’t perform that action at this time.
0 commit comments