I cannot find where Flambda inlining reports are generated. The documentation is quite vague with respect to where should I find them… this is how I use Flambda (lib/dune):
Yes, I’ve seen this answer, but I still have no clue why the files are not generated. Also, it seems that files for bin/are generated, if I specify -inlining-report in bin/dune. So the issue seems to be for library only.
Check in _build/log whether there are any lines with -inlining-report. If not, either something has overwritten the ocamlopt flags or dune didn’t recompile the files in question.