I’m using 12.1.0:
$ rescript --version
rescript 12.1.0
$ rescript
[1/3] 🧹 Cleaned previous build due to compiler update
[1/3] 🧹 Cleaned 0/0 in 0.26s
[2/3] 🧱 Parsed 896 source files in 1.15s
[3/3] 🤺 Compiled 896 modules in 6.31s
The field 'reanalyze' found in the package config of 'kaiko-survey-tool' is not supported by ReScript 12's new build system.
✨ Finished Compilation in 7.74s
So to use reanalyze I run first rescript-legacy.