Check rewatch output against snapshots instead of Rust rewatch
The check_*.sh scripts compared the OCaml build system with the Rust one, which is about to be removed. They now run rescript alone: each case keeps its expected outcome, and output the scripts used to compare with Rust's is compared with snapshots under rewatch-ocaml/tests/snapshots, written with UPDATE_SNAPSHOTS=1. Paths are replaced by placeholders, line endings and separators normalized, so one snapshot serves Unix and Windows.
Review
- Do the snapshots still describe Rust's output? Yes: before removing Rust, every snapshot was checked against the Rust executable too; the verbose, interactive and command-validation snapshots match it. Remaining differences are the documented ones, whose cases already expected OCaml's outcome.
- Which checks were dropped? Only Rust-only ones: the three missing-
RESCRIPT_BSC_EXEcases (OCaml ignores the variable), Rust's exit codes and error wording. Config cases named for Rust's last-key-wins behavior (duplicate-last) were renamed, since duplicates are rejected.