Skip to content

Conversation

@xavierleroy
Copy link
Contributor

Originally, the string type of Rocq/Coq was extracted to the char list type of OCaml, with conversion functions defined in lib/Coqlib.ml.

Extraction of Rocq/Coq strings to OCaml native strings (type string) was introduced in Coq 8.13 and has been stable since Coq 8.15, which is the oldest version CompCert supports.

This PR activates the extraction to OCaml native strings and removes the uses of the Coqlib string conversion functions, which are now unnecessary. This makes the OCaml code of CompCert a bit cleaner and probably a bit faster too.

…cters

Native string extraction is now supported by all the Coq versions we support.
…ring`

No longer needed now that strings extract to strings.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants