Skip to content

test(rocq): expose missing native plugin layout entries - #16051

Merged
Alizter merged 1 commit into
ocaml:mainfrom
Alizter:test-rocq-native-plugin-layout
Aug 20, 2026
Merged

test(rocq): expose missing native plugin layout entries#16051
Alizter merged 1 commit into
ocaml:mainfrom
Alizter:test-rocq-native-plugin-layout

Conversation

@Alizter

@Alizter Alizter commented Aug 19, 2026

Copy link
Copy Markdown
Collaborator

Description

Extend the Rocq plugin META cram test to inspect native plugin entries in the package-scoped layout created before rocqdep.

The current expectation deliberately snapshots the bug: the META file is present while the .cmxs is absent, keeping the regression commit green. A follow-up fix will update the prose and expected output.

Related Issue and Motivation

Part of #16048. Rocq can discover a plugin META file in the scoped layout while the corresponding native plugin has not been materialized.

Signed-off-by: Ali Caglayan <alizter@gmail.com>
@Alizter Alizter added no changelog rocq Dune support for the Rocq proof assistant labels Aug 19, 2026
@Alizter
Alizter merged commit 92830e8 into ocaml:main Aug 20, 2026
67 of 69 checks passed
@Alizter
Alizter deleted the test-rocq-native-plugin-layout branch August 20, 2026 07:36
Alizter added a commit that referenced this pull request Aug 20, 2026
## Description

Materialize `Section.Libexec` entries in the package-scoped library
layout used while compiling Rocq theories. Dune classifies native OCaml
plugins as `Libexec`, while the opam-style layout places both `Lib` and
`Libexec` under `lib/<package>`.

Root sections remain excluded so Rocq theory outputs do not introduce
same-package build cycles. This updates the green regression snapshot
from #16051 to include the native plugin.

## Validation

In addition to the targeted Rocq cram test, I reproduced #16048 with
Rocq itself checked out in the same workspace. With this patch, Dune
built the workspace Rocq and the consuming theory successfully, with the
`rocq-runtime` native plugin links present in the scoped package layout.

## Related Issue and Motivation

Fixes #16048.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no changelog rocq Dune support for the Rocq proof assistant

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant