Skip to content

Move print-mod-uid to main rocq exe instead of rocq repl - #22359

Open
SkySkimmer wants to merge 1 commit into
rocq-prover:masterfrom
SkySkimmer:printmoduid
Open

Move print-mod-uid to main rocq exe instead of rocq repl#22359
SkySkimmer wants to merge 1 commit into
rocq-prover:masterfrom
SkySkimmer:printmoduid

Conversation

@SkySkimmer

Copy link
Copy Markdown
Contributor

This avoids having to deal with random initializations, needing -q, and whatever else rocq repl involves.

AFAICT -print-mod-uid is an internal flag used only by rocq makefile (for installing native files).

rocq makefile does not support -native-output-dir AFAICT so we hardcode .coq-native.

@SkySkimmer SkySkimmer added needs: changelog entry This should be documented in doc/changelog. request: full CI Use this label when you want your next push to trigger a full CI. labels Aug 18, 2026
@coqbot-app coqbot-app Bot removed the request: full CI Use this label when you want your next push to trigger a full CI. label Aug 18, 2026
This avoids having to deal with random initializations, needing -q,
and whatever else rocq repl involves.

AFAICT -print-mod-uid is an internal flag used only by rocq
makefile (for installing native files).

rocq makefile does not support -native-output-dir AFAICT so we
hardcode .coq-native.
@SkySkimmer SkySkimmer added request: full CI Use this label when you want your next push to trigger a full CI. and removed needs: changelog entry This should be documented in doc/changelog. labels Aug 21, 2026
@coqbot-app coqbot-app Bot removed the request: full CI Use this label when you want your next push to trigger a full CI. label Aug 21, 2026
@SkySkimmer
SkySkimmer marked this pull request as ready for review August 21, 2026 12:10
@SkySkimmer
SkySkimmer requested review from a team as code owners August 21, 2026 12:10
@ppedrot ppedrot self-assigned this Aug 31, 2026
Comment thread lib/objFile.ml
md_deps : Obj.t;
md_ocaml : Obj.t;
md_info : Obj.t;
} [@@warning "-unused-field"]

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I'd rather have an abstract type and md_name defined as Obj.field, otherwise this adds some stronger coupling between this record and its official definition.

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.

2 participants