Skip to content

dune describe crashing with enabled_if #10779

@moyodiallo

Description

@moyodiallo

Expected Behavior

Does not crash.

Actual Behavior

Crashing with

Internal error, please report upstream including the contents of _build/log.
  Description:
    ("modules_and_obj_dir: failed lookup",
    { keys = []; for_ = Exe { first_exe = "test" } })
  Raised at Stdune__Code_error.raise in file
    "otherlibs/stdune/src/code_error.ml", line 10, characters 30-62
  Called from Fiber__Scheduler.exec in file "vendor/fiber/src/scheduler.ml",
    line 76, characters 8-11
  Re-raised at Stdune__Exn.raise_with_backtrace in file
    "otherlibs/stdune/src/exn.ml", line 38, characters 27-56
  Called from Fiber__Scheduler.exec in file "vendor/fiber/src/scheduler.ml",
    line 76, characters 8-11

  I must not crash. ...
  [1]

Reproduction

Specifications

  • Version of dune (output of dune --version): 3.16.0, main branch
  • Version of ocaml (output of ocamlc --version): 4.14.1
  • Operating system (distribution and version): Ubuntu 22.04.4 LTS

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions