Skip to content

Executable modules are built in too many ways #10418

@mpickering

Description

@mpickering

A bug which I introduced into Cabal-3.14 means that modules belonging to executables are built in all the configured library ways.

When building an executable, the Haskell modules need to be built

  • For the final link way
  • For the build way of the compiler if TH is enabled

At the moment they may be built for vanilla, dynamic and profiling. Even if the final executable we want to link statically.

I have a patch and test which fixes this.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions