ocaml / ocaml/dune

The @all alias does not produce .cmt files which are produced by @check.

Open
#3,182 13 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

build
Dominant language
OCaml
Stars
1.9k
Forks
500
Avg merge
15h 21m
Merged PRs (30d)
277

Description

Expected Behavior

In example https://github.com/cristianoc/dune-cmt,
dune build should produce both a .cmt and .cmti file.

Actual Behavior

dune build produces only a .cmti file.
dune build @check produces s both a .cmti and a .cmt.

Specifications

  • Version of dune (output of dune --version):
    2.2.0
  • Version of ocaml (output of ocamlc --version)
    4.06.1
  • Operating system (distribution and version):
    macOS Catalina 10.15.3

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue in the linked cristianoc/dune-cmt example using dune build and dune build @check under the reported Dune and OCaml versions. Compare the generated .cmt and .cmti artifacts; done means the default build produces both files as expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
ocaml
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.