Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • GHC GHC
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 4,862
    • Issues 4,862
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 455
    • Merge requests 455
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Glasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #20303
Closed
Open
Created Aug 28, 2021 by Ziyang Liu@zliu41Developer

Flags to produce full interface files and stop

Motivation

-fno-code -fwrite-interface produces the interface files and stop, which is convenient for typechecking. The interface files produced with these flags do not contain unfoldings, which is not needed for typechecking. But when writing GHC Core plugins, we do need the unfoldings - so that the plugin has something to work with - but often don't need anything beyond the interface files.

Proposal

I'm not aware of any flag or combination of flags that behaves like -fno-code -fwrite-interface, but includes unfoldings in the interface files. So the proposal is to add such flag(s).

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking