Any alternative to `OCAMLPARAM="_,warn-error=+a"`?

I used OCAMLPARAM="_,warn-error=+a" for production builds for years, but at some point, it stopped working. Any alternative?

You can try to pass:

      --warn-error <WARN_ERROR>
          Override warning configuration from rescript.json. Example: --warn-error "+3+8+11+12+26+27+31+32+33+34+35+39+44+45+110"

to rescript build

2 Likes