Warn if TH and Mac and static binary#2470
Conversation
|
This is really a good idea and the suggestion is helpful. However is not the first statement a little bit strong? I mean, i thought template haskell was working at least for some cases. The warning could be surprising for those who th works. |
For me Haskell should never segfault, it's a horrible user experience. Therefore, TH in MacOs with a statically linked binary doesn't work. Secondly, the statement is strictly true: we don't support TH in Mac OS with a statically linked binary: no one is working on fixing the problems, which involve bugs in the Mach linker in GHC. Do you have any concrete suggestions? |
|
I just saw it is exclusive for macos and it is not emitted for Linux. I would add a weak version for Linux as th cause problems in that os but we can wait to see what is the effect of alpine binaries |
9b4e833 to
c3d0fdf
Compare
|
It seems hie-bios should be updated to 0.8.0 in stack.yaml's to get |
e44ade0 to
3861129
Compare
This reverts commit 807cb8f.
Closes #2391
Screen.Recording.2021-12-11.at.20.47.03.mov