Skip to content

RFC: library visibility enforcement #5806

Closed

Description

@fgaz

So, before 3.0 we want a way to enforce library visibility, but to do that we need an extra field in IPI, which would require a GHC release and would restrict multilibs to GHC >=8.8.

Instead, what about:

  • enforcing visibility at the Cabal-the-lib level on GHC >=8.8 only
  • on GHC <8.8 just enforcing it at the cabal-install level
  • hoping that this doesn't happen

Update: we decided not to take the risk. Multilibs will only be supported from GHC 8.8

Activity

  1. added this to the 3.0 milestone on Dec 18, 2018
  2. fgaz commented on Jun 10, 2019

    @fgaz
    MemberAuthor

    #5848 does it. It also adds an override so cabal-install can add backward compatibility.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions