Skip to content

Adapt to https://github.com/rocq-prover/rocq/pull/21955 - #203

Merged
JasonGross merged 2 commits into
mit-plv:masterfrom
JasonGross:rocq21955
May 6, 2026
Merged

Adapt to https://github.com/rocq-prover/rocq/pull/21955#203
JasonGross merged 2 commits into
mit-plv:masterfrom
JasonGross:rocq21955

Conversation

@JasonGross

Copy link
Copy Markdown
Collaborator

Adapt to rocq-prover/rocq#21955 (removal of the deprecated coq-core.* library aliases): replace coq-core with rocq-runtime in META.coq-rewriter and Makefile.local-late.

JasonGross added 2 commits May 5, 2026 12:12
Add the META file to COMPATIBILITY_FILES so it's regenerated from a
versioned source like the other plugin files. The unversioned
META.coq-rewriter is now generated at build time and gitignored;
otherwise the compat copy rule would overwrite a tracked file.

Per-version copies (.v816 through .v93) currently have identical
content; .v815 is empty, matching the previous behavior where
META_FILE_FRAGMENT was unset for 8.15. The @meta@ template logic in
the top-level Makefile and _CoqProject.in is no longer needed since
COMPATIBILITY_FILES handles the META path.
The deprecated coq-core.* library aliases are removed; switch the v93
META and the Makefile.local-late ltac2 -package kludge to
rocq-runtime. Older versions still pin coq-core.
@JasonGross
JasonGross enabled auto-merge May 5, 2026 19:16
@JasonGross
JasonGross merged commit 16ae768 into mit-plv:master May 6, 2026
9 checks passed
@JasonGross
JasonGross deleted the rocq21955 branch May 6, 2026 03:19
JasonGross added a commit to mit-plv/fiat-crypto that referenced this pull request Jun 13, 2026
Pulls in mit-plv/rewriter's adaptation to the removal of the
deprecated coq-core.* findlib library aliases
(rocq-prover/rocq#21955), merged as
mit-plv/rewriter#203.

Without this, the dev (rocq dev / 9.3) docker CI builds fail while
compiling the rewriter submodule with:

    *** Error: In file src/Rewriter/Util/plugins/RewriterBuild.v
    findlib error: coq-core.plugins.ltac not found
    ...
    required by `coq-rewriter.rewriter_build'

because the rewriter META still required coq-core.plugins.* which no
longer exists on rocq 9.3. The bumped rewriter generates the META
per Coq version (coq-core.* on 8.x/9.0-9.2, rocq-runtime.* on 9.3).

https://claude.ai/code/session_01PjCbMk9zjAZWvZHuznFXqh

Co-authored-by: Claude <[email protected]>
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.

1 participant