Skip to content

cabal run -O0 seems to use wrong executable #6994

Open
@sjakobi

Description

@sjakobi

While working on https://github.com/dhall-lang/dhall-haskell, I've run into a weird issue where cabal run -O0 seems to use an executable that doesn't incorporate the latest source changes. Without the -O0 flag, cabal run behaves as expected.

Is this a known issue?

System information

$ cabal --version
cabal-install version 3.2.0.0
compiled using version 3.2.0.0 of the Cabal library 

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