Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display a warning when using Template Haskell and static binaries #2391

Closed
pepeiborra opened this issue Nov 23, 2021 · 1 comment · Fixed by #2470
Closed

Display a warning when using Template Haskell and static binaries #2391

pepeiborra opened this issue Nov 23, 2021 · 1 comment · Fixed by #2470
Labels
type: enhancement New feature or request

Comments

@pepeiborra
Copy link
Collaborator

We know that HLS is likely to crash in this situation, specially in Mac OS, so perhaps HLS should use a WindowShowMessage LSP notification to warn the user and link to the documentation of the recommended solution, which is to build locally with dynamic linking.

@jneira
Copy link
Member

jneira commented Jan 30, 2022

The warning is shown if you build hls with --enable-executable-dynamic, but i thought that way th would also works.
With that flag the executable uses dybnamic linking for system libs but no for haskell dependencies (like --ghc-options="dynamic")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants