I usually use dune build @check
to quickly check if my code can compile. I've run into a number of cases where the command returns a clean output, but doing a dune build .
will return a large number of compiler errors.
Is there a reason for this, or am I misusing the check command? I guess I'm mostly thinking about it as an equivalent to cargo check
in Rust which will usually find all the compiler errors and is faster than cargo build
.