This example is intended to work with a fresh local opam switch and the latest rocq-iris package available from opam.
opam switch create . ocaml-base-compiler.5.2.1
eval $(opam env)
opam repo add rocq-released https://rocq-prover.github.io/opam/released/
opam repo add iris-dev https://gitlab.mpi-sws.org/iris/opam.git
opam updateopam install rocq-iris-heap-langrocq c separation_logic.v
rocq c ownership.vopam install vsrocq-language-server
which vsrocqtopIn VS Code settings, set Vsrocq: Path to the full path of vsrocqtop if needed.
A reliable workflow is:
- Activate the opam switch with
eval $(opam env) - Launch VS Code from that terminal with
code .