You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The second case is a bit scary, and I think a naive code coverage metric to ensure that all functions we expose are tested would ensure that we don't get surprised by anything like this. A lesser worry is if we, for example, say that an argument is an int option instead of an bool option I don't think we'll get a SEGV as long as we just pass a None, since the OCaml memory representation is identical. Perhaps OCaml tests -> Rust-side code coverage would solve this, though I'm not sure whether code-coverage tools support this kind of thing.
The text was updated successfully, but these errors were encountered:
The only sources of SEGV issues so far were:
extern
sThe second case is a bit scary, and I think a naive code coverage metric to ensure that all functions we expose are tested would ensure that we don't get surprised by anything like this. A lesser worry is if we, for example, say that an argument is an
int option
instead of anbool option
I don't think we'll get a SEGV as long as we just pass aNone
, since the OCaml memory representation is identical. Perhaps OCaml tests -> Rust-side code coverage would solve this, though I'm not sure whether code-coverage tools support this kind of thing.The text was updated successfully, but these errors were encountered: