Skip to content

Instantiate takes a resolved library - #12849

Merged
rgrinberg merged 1 commit into
ocaml:mainfrom
rgrinberg:instantiate-regular-lib
Dec 5, 2025
Merged

rgrinberg merged 1 commit into
ocaml:mainfrom
rgrinberg:instantiate-regular-lib

Conversation

@rgrinberg

Copy link
Copy Markdown
Member

Since we're always resolving it in instantiate anyway, let's make the caller do it.

@rgrinberg
rgrinberg requested a review from art-w December 2, 2025 21:57
@rgrinberg

Copy link
Copy Markdown
Member Author

ping @art-w

@art-w art-w left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Sure, why not

Let the callers make sure the names are resolved

Signed-off-by: Rudi Grinberg <[email protected]>
@art-w
art-w force-pushed the instantiate-regular-lib branch from 2d53bed to 8fbc1e6 Compare December 5, 2025 16:06
@rgrinberg
rgrinberg merged commit 8622817 into ocaml:main Dec 5, 2025
davesnx added a commit to davesnx/dune that referenced this pull request Dec 8, 2025
…without-system

* 'main' of github.com:/ocaml/dune: (30 commits)
  Add (files) stanza (ocaml#12879)
  Make sure to use string equality in parsing hot path (ocaml#12874)
  Hoist up [Dune_sexp.Decoder.sum] uses (ocaml#12876)
  Delay ocaml-index dependencies (ocaml#12881)
  Simplify Lib.requires (ocaml#12880)
  Lib: delay applying modules (ocaml#12884)
  Annotate some ignored parameters in lib.ml (ocaml#12883)
  feat: expand variables in `(promote (into ..))` (ocaml#12832)
  dune-binaries.t: nix ci (ocaml#12875)
  fix: greedy version location in lang declarations (ocaml#12869)
  Reproduction case for ocaml#6220. (ocaml#6221)
  Defunctionalize the dune sexp decoder (ocaml#12768)
  disable flake (ocaml#12873)
  refactor: [instantiate] takes a regular library (ocaml#12849)
  Respect potentially existing lock dir when running format rules (ocaml#12847)
  fix: ascii start
  chore: updated CR someday
  chore: added entry for CHANGES.md
  fix: else claude message
  tests: promoted non-ascii-characters.t to new logic
  ...
@Alizter Alizter added this to the 3.21.0 milestone Jul 8, 2026
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.

3 participants