Heya!
I’m trying to understand what compilation flags dune runs with by default. I know we can set up envs like this
(env
(dev
(flags (:standard -w +42)))
(release
(ocamlopt_flags (:standard -O3))))
and then run dune build --profile release
for it to run optimized. I wonder though, if I just run dune build
without adding any env or flags, does it do any optimization whatsover then?
4 posts - 3 participants