Skip to content

test(melange): reproduce installed virtual-library metadata crash - #16032

Merged
anmonteiro merged 1 commit into
ocaml:mainfrom
anmonteiro:anmonteiro/test-installed-melange-vlib-metadata
Aug 18, 2026
Merged

anmonteiro merged 1 commit into
ocaml:mainfrom
anmonteiro:anmonteiro/test-installed-melange-vlib-metadata

Conversation

@anmonteiro

Copy link
Copy Markdown
Collaborator

Adds a cram test showing that installing a Melange-only implementation of an installed virtual library crashes while looking for OCaml module metadata.

@anmonteiro
anmonteiro merged commit 0f65cd8 into ocaml:main Aug 18, 2026
37 of 39 checks passed
@anmonteiro
anmonteiro deleted the anmonteiro/test-installed-melange-vlib-metadata branch August 18, 2026 04:25
anmonteiro added a commit that referenced this pull request Aug 18, 2026
Reuse modules already resolved for each compilation mode when collecting
library install files, avoiding an OCaml metadata lookup for
Melange-only libraries.

Includes the regression test from #16032.

---------

Signed-off-by: Antonio Nuno Monteiro <[email protected]>
@Alizter Alizter added this to the 3.25.0 milestone Aug 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants