-
Notifications
You must be signed in to change notification settings - Fork 842
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
stack repl stack:lib
bytecode compiler can't foreign
#5814
Comments
stack repl stack:lib
bytecode compiler can't handle some foreign calling conventionsstack repl stack:lib
bytecode compiler can't foreign
I hope a new binary version of Stack will be available soon on all major operating systems (see #5733). I am using the version of Stack built from the current
If you are on macOS, you would want to install that version of Stack with:
Using that version of Stack yields for me (at least, on Windows 11):
|
@philderbeast, does using a current version of Stack on macOS also solve the problem you identify? |
I don't think you can reproduce that on windows. This is very common and not really a stack bug. See:
So it seems the first version that doesn't have this problem is GHC 9.2.4. On mac you should not use that version though, but 9.2.5. |
@hasufell thanks, didn't know what was it, but upgrading my stack resolver solved it. |
Steps to reproduce
On this very repo:
I tried
stack build stack:lib
that worked but going back to the above command still fails the same way.Expected
I'd expect to be able to load stack's lib into the REPL.
Versions
Method of installation
ghcup
The text was updated successfully, but these errors were encountered: