To add to @kayceesrk’s good suggestion, there is an unknown number (but AFAIR greater than a dozen) of packages on opam that use naked pointers but have been marked as compatible with OCaml 5, and which show up as green in the CI.
I posted below a simple method to see if one idiom which creates naked pointers is present inside your dependencies (adapted for opam, but it adapts to other packaging method):
The usefulness of the compile-time option to detect possible naked pointers at runtime (badly named nnp “checker”) seems relative.