diff options
| author | charguer | 2019-11-08 11:06:10 +0100 |
|---|---|---|
| committer | charguer | 2019-11-20 12:02:00 +0100 |
| commit | 5bf25dfce23da1cee04b1c886e026f0dbc902c9c (patch) | |
| tree | 44258f30e5965dcfc1e316c4bd4812698dcf7777 /doc | |
| parent | 64ddd9ac0c34e560a0640297e2e23b6aaf074810 (diff) | |
From CoqIDE or -vos or -vok compilation, load .vo when .vos is missing (fixing bug #11057).
With this new behavior, it is not needed to .vos files in user contribs.
Also, this commit adds a feature: upon creation of a .vo file, an empty .vok file is touched.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/sphinx/practical-tools/coq-commands.rst | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/sphinx/practical-tools/coq-commands.rst b/doc/sphinx/practical-tools/coq-commands.rst index 70259ff565..a68078ecd4 100644 --- a/doc/sphinx/practical-tools/coq-commands.rst +++ b/doc/sphinx/practical-tools/coq-commands.rst @@ -354,11 +354,11 @@ within a section. **Interaction with standard compilation** When compiling a file ``foo.v`` using ``coqc`` in the standard way (i.e., without -``-vos`` nor ``-vok``), an empty file ``foo.vos`` is created in addition to the -regular output file ``foo.vo``. If ``coqc`` is subsequently invoked on some other -file ``bar.v`` using option ``-vos`` or ``-vok``, and that ``bar.v`` requires -``foo.v``, if |Coq| finds an empty file ``foo.vos``, then it will load -``foo.vo`` instead of ``foo.vos``. +``-vos`` nor ``-vok``), an empty file ``foo.vos`` and an empty file ``foo.vok`` +are created in addition to the regular output file ``foo.vo``. +If ``coqc`` is subsequently invoked on some other file ``bar.v`` using option +``-vos`` or ``-vok``, and that ``bar.v`` requires ``foo.v``, if |Coq| finds an +empty file ``foo.vos``, then it will load ``foo.vo`` instead of ``foo.vos``. The purpose of this feature is to allow users to benefit from the ``-vos`` option even if they depend on libraries that were compiled in the traditional |
